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
9ec596e3
Commit
9ec596e3
authored
Apr 17, 2011
by
Mike Muzurakis
Browse files
fix tab issues on creation wizard, Refs #83
parent
16363742
Changes
1
Hide whitespace changes
Inline
Side-by-side
ui/templates/machines.html
View file @
9ec596e3
...
...
@@ -318,7 +318,9 @@ $(function() {
return
false
;
// everything is good
}
}
}
});
api
.
onSeek
(
function
(
event
,
i
)
{
// update status bar
$
(
"
#status li
"
).
removeClass
(
"
active
"
).
eq
(
i
).
addClass
(
"
active
"
);
// update confirm step
...
...
@@ -334,7 +336,7 @@ $(function() {
$
(
"
#machine_cpu-label
"
)[
0
].
textContent
=
$
(
"
#cpu-indicator
"
)[
0
].
value
;
$
(
"
#machine_ram-label
"
)[
0
].
textContent
=
$
(
"
#ram-indicator
"
)[
0
].
value
;
$
(
"
#machine_storage-label
"
)[
0
].
textContent
=
$
(
"
#storage-indicator
"
)[
0
].
value
;
}
}
});
// if tab is pressed on the next button seek to next page
$
(
root
).
live
(
'
keydown
'
,
function
(
e
)
{
...
...
@@ -342,7 +344,7 @@ $(function() {
if
(
e
.
preventDefault
)
{
e
.
preventDefault
();
}
return
false
;
api
.
next
()
;
}
});
//submit wizard by pressing enter on the name textbox
...
...
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