From 16e0ccd4c089457f565005f724dadb60882a5253 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Wed, 11 Jul 2012 16:55:40 -0700 Subject: [PATCH] cloudstack 3.0 UI - VPC - Enable StaticNat - tier dropdown - rename default option to be blank. --- ui/scripts/network.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/scripts/network.js b/ui/scripts/network.js index afffbca44d3..d39b80d04fa 100644 --- a/ui/scripts/network.js +++ b/ui/scripts/network.js @@ -1266,7 +1266,7 @@ }, success: function(json) { var networks = json.listnetworksresponse.network; - var items = [{ id: -1, description: 'All' }]; + var items = [{ id: -1, description: '' }]; $(networks).each(function(){ items.push({id: this.id, description: this.displaytext}); }); @@ -1350,7 +1350,7 @@ }; if('vpc' in args.context) { - if(args.tierID == null) { + if(args.tierID == '-1') { args.response.error('Tier is required'); return; }