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/27 20:07:05 UTC
git commit: CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone
- Network menu - guest network section - fix an JS error "advSgDisabledZones
is undefined".
Updated Branches:
refs/heads/master 0a19630b5 -> 2e3bedda1
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/master
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: {