Updated Branches: refs/heads/master 2d678063f -> 5e5bb2cae
remove duplicate lines of 2d678063fac318776f60b7f3b1d27323cac06dfc Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/5e5bb2ca Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/5e5bb2ca Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/5e5bb2ca Branch: refs/heads/master Commit: 5e5bb2cae7917cf5f16d74fdd5b299eff0599588 Parents: 2d67806 Author: Wei Zhou <w.z...@leaseweb.com> Authored: Wed Jun 19 15:46:51 2013 +0200 Committer: Wei Zhou <w.z...@leaseweb.com> Committed: Wed Jun 19 15:46:51 2013 +0200 ---------------------------------------------------------------------- ui/scripts/system.js | 7 ------- 1 file changed, 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5e5bb2ca/ui/scripts/system.js ---------------------------------------------------------------------- diff --git a/ui/scripts/system.js b/ui/scripts/system.js index 7d0ea37..6e61397 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -1321,13 +1321,6 @@ } }, - preFilter: function(args) { //Isolated networks is only supported in Advanced (SG-disabled) zone - if(selectedZoneObj.networktype == "Advanced" && selectedZoneObj.securitygroupsenabled != true) - return false; - else - return true; - }, - preFilter: function(args) { //Shared networks is only supported in Basic zone and Advanced zone with SG if(selectedZoneObj.networktype == "Advanced" && selectedZoneObj.securitygroupsenabled != true) return false;