You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by je...@apache.org on 2012/11/28 00:47:38 UTC

git commit: CLOUDSTACK-551: cloudstack UI - deployVM - select security groups step - show DefaultSecurityGroup option because backend has been changed to not always add DefaultSecurityGroup unless specified in DeployVirtualMachine API.

Updated Branches:
  refs/heads/master 4b3892a54 -> 687d76b5e


CLOUDSTACK-551: cloudstack UI - deployVM - select security groups step - show DefaultSecurityGroup option because backend has been changed to not always add DefaultSecurityGroup unless specified in DeployVirtualMachine API.


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

Branch: refs/heads/master
Commit: 687d76b5e3e316734c1c05169b8ae29c38260638
Parents: 4b3892a
Author: Jessica Wang <je...@citrix.com>
Authored: Tue Nov 27 15:47:07 2012 -0800
Committer: Jessica Wang <je...@citrix.com>
Committed: Tue Nov 27 15:47:07 2012 -0800

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


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/687d76b5/ui/scripts/instanceWizard.js
----------------------------------------------------------------------
diff --git a/ui/scripts/instanceWizard.js b/ui/scripts/instanceWizard.js
index 021fa8a..89ca1d6 100644
--- a/ui/scripts/instanceWizard.js
+++ b/ui/scripts/instanceWizard.js
@@ -408,8 +408,7 @@
             var items = json.listsecuritygroupsresponse.securitygroup;
             if (items != null && items.length > 0) {
               for (var i = 0; i < items.length; i++) {
-                if(items[i].name != "default") //exclude default security group because it is always applied
-                  securityGroupArray.push(items[i]);
+                securityGroupArray.push(items[i]);
               }
             }
           }