You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by pr...@apache.org on 2012/11/29 01:01:18 UTC

[16/50] [abbrv] git commit: CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone - Network menu - guest network section - fix an JS error "advSgDisabledZones is undefined".

CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone - Network menu - guest network section - fix an JS error "advSgDisabledZones is undefined".


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

Branch: refs/heads/api_refactoring
Commit: 2e3bedda10157963cbcf462b340ae4c5cc66fcf3
Parents: 0a19630
Author: Jessica Wang <je...@citrix.com>
Authored: Tue Nov 27 11:06:34 2012 -0800
Committer: Jessica Wang <je...@citrix.com>
Committed: Tue Nov 27 11:06:34 2012 -0800

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


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/2e3bedda/ui/scripts/network.js
----------------------------------------------------------------------
diff --git a/ui/scripts/network.js b/ui/scripts/network.js
index a4b60d3..9e292a5 100755
--- a/ui/scripts/network.js
+++ b/ui/scripts/network.js
@@ -319,7 +319,7 @@
 										});										
 									}
 								});								
-								return (advSgDisabledZones.length > 0);							
+								return (advSgDisabledZones != null && advSgDisabledZones.length > 0);							
               },
 
               createForm: {