incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kis...@apache.org
Subject [44/48] git commit: refs/heads/regions - Advanced SG instance wizard: Fix back button
Date Fri, 01 Feb 2013 06:11:33 GMT
Advanced SG instance wizard: Fix back button

Fixes back button for select SG step, when using SG-enabled advanced
network.


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/894cb8f7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/894cb8f7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/894cb8f7

Branch: refs/heads/regions
Commit: 894cb8f7d9fc8b5561754a9fa541fef8f235148a
Parents: 5cb9df9
Author: Brian Federle <brian.federle@citrix.com>
Authored: Thu Jan 31 16:06:44 2013 -0800
Committer: Brian Federle <brian.federle@citrix.com>
Committed: Thu Jan 31 16:07:50 2013 -0800

----------------------------------------------------------------------
 ui/scripts/ui-custom/instanceWizard.js |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/894cb8f7/ui/scripts/ui-custom/instanceWizard.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui-custom/instanceWizard.js b/ui/scripts/ui-custom/instanceWizard.js
index a30b619..8e4ed7e 100644
--- a/ui/scripts/ui-custom/instanceWizard.js
+++ b/ui/scripts/ui-custom/instanceWizard.js
@@ -875,6 +875,9 @@
             if (index) {
               if (index == $steps.size() - 1 && $networkStep.hasClass('next-use-security-groups'))
{
                 showStep(5);
+              } else if ($activeStep.find('.select-security-group:visible').size() &&
+                         $activeStep.find('.select-network.no-add-network').size()) {
+                showStep(5);
               } else {
                 showStep(index);
               }


Mime
View raw message