mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
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…
x
Reference in New Issue
Block a user