bug 12260: Hide previous button in step 1 of zone wizard

This commit is contained in:
Brian Federle 2011-12-05 19:12:16 -08:00
parent 9b6d1ba0b2
commit 433cd51d89

View File

@ -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();