Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Fukász Rómeó Ervin
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f80cbaf7
authored
Aug 26, 2013
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
network: nicer record choose text
parent
e88e4913
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
network/static/js/record.js
+6
-2
No files found.
network/static/js/record.js
View file @
f80cbaf7
...
...
@@ -272,9 +272,12 @@ $(function() {
$
(
'div[id^="div_id_"]'
).
hide
();
// hide the save button
$
(
'#submit-id-submit'
).
hide
();
$
(
'#div_id_type .controls'
).
append
(
//
$
(
'#div_id_type .controls'
)
.
addClass
(
'input-group'
)
.
append
(
//' <a id="type_next" onclick="type_next()" class="btn btn-info">Next</a>'
'<span id="type_next" class="
help-block
"><strong>'
+
'<span id="type_next" class="
input-group-addon
"><strong>'
+
gettext
(
'Specify a type!'
)
+
'</strong></span>'
);
...
...
@@ -285,6 +288,7 @@ $(function() {
// if the user choose a type
function
type_next
()
{
if
(
$
(
'#div_id_type :selected'
).
val
())
{
$
(
'#div_id_type .controls'
).
removeClass
(
'input-group'
);
$
(
'#type_next'
).
remove
();
$
(
'div[id^="div_id_"]'
).
fadeIn
();
$
(
'#submit-id-submit'
).
fadeIn
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment