From ea7ea4ce6ff4e3de9c3261ab0685d1747b4f7d83 Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Thu, 23 Feb 2012 14:45:56 -0800 Subject: [PATCH] bug 12767 Hide previous button on first step of instance wizard status 12767: resolved fixed --- ui/scripts/ui-custom/instanceWizard.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ui/scripts/ui-custom/instanceWizard.js b/ui/scripts/ui-custom/instanceWizard.js index 4302206f236..513c47c6e07 100644 --- a/ui/scripts/ui-custom/instanceWizard.js +++ b/ui/scripts/ui-custom/instanceWizard.js @@ -581,6 +581,11 @@ $nextButton.addClass('final'); } + // Hide previous button on first step + var $previousButton = $wizard.find('.button.previous'); + if (index == 1) $previousButton.hide(); + else $previousButton.show(); + // Update progress bar var $targetProgress = $progress.removeClass('active').filter(function() { return $(this).index() <= targetIndex;