Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
6e382260
Commit
6e382260
authored
Apr 17, 2011
by
Mike Muzurakis
Browse files
Fix regression when clicking on radio buttons
parent
612a5aa4
Changes
1
Hide whitespace changes
Inline
Side-by-side
ui/templates/machines.html
View file @
6e382260
...
...
@@ -319,10 +319,6 @@ $(function() {
// everything is good
}
}
});
api
.
onSeek
(
function
(
event
,
i
)
{
// update status bar
$
(
"
#status li
"
).
removeClass
(
"
active
"
).
eq
(
i
).
addClass
(
"
active
"
);
// update confirm step
if
(
api
.
getIndex
()
==
0
)
{
var
image
=
$
(
"
input[type=radio][name=image-id]:checked
"
);
...
...
@@ -338,6 +334,10 @@ $(function() {
$
(
"
#machine_storage-label
"
)[
0
].
textContent
=
$
(
"
#storage-indicator
"
)[
0
].
value
;
}
});
api
.
onSeek
(
function
(
event
,
i
)
{
// update status bar
$
(
"
#status li
"
).
removeClass
(
"
active
"
).
eq
(
i
).
addClass
(
"
active
"
);
});
// if tab is pressed on the next button seek to next page
$
(
root
).
live
(
'
keydown
'
,
function
(
e
)
{
if
(
e
.
keyCode
==
9
){
...
...
@@ -385,6 +385,7 @@ $('.radio').live('click' ,function() {
if
(
$
(
this
).
is
(
'
:checked
'
))
{
$
(
this
).
parent
().
addClass
(
'
selecteddiv
'
);
}
});
// validate cpu input box
...
...
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