mirror of https://github.com/apache/cloudstack.git
bug 12260: Hide previous button in step 1 of zone wizard
This commit is contained in:
parent
9b6d1ba0b2
commit
433cd51d89
|
|
@ -62,6 +62,12 @@
|
|||
var $targetStep = $($steps.hide()[targetIndex]).show();
|
||||
var formState = cloudStack.serializeForm($wizard.find('form'));
|
||||
|
||||
if (!targetIndex) {
|
||||
$wizard.find('.button.previous').hide();
|
||||
} else {
|
||||
$wizard.find('.button.previous').show();
|
||||
}
|
||||
|
||||
// Hide conditional fields by default
|
||||
var $conditional = $targetStep.find('.conditional');
|
||||
$conditional.hide();
|
||||
|
|
|
|||
Loading…
Reference in New Issue