mirror of https://github.com/apache/cloudstack.git
bug 12767
Hide previous button on first step of instance wizard status 12767: resolved fixed reviewed-by: jessica
This commit is contained in:
parent
17c0f514e7
commit
2b7ed1f9e2
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue