diff --git a/ui/scripts/ui-custom/zoneWizard.js b/ui/scripts/ui-custom/zoneWizard.js index 9dba4551d09..5a39cc28613 100644 --- a/ui/scripts/ui-custom/zoneWizard.js +++ b/ui/scripts/ui-custom/zoneWizard.js @@ -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();