cloudstack 3.0 UI - VPC - Enable StaticNat - tier dropdown - rename default option to be blank.

This commit is contained in:
Jessica Wang 2012-07-11 16:55:40 -07:00
parent ca63738ec1
commit 16e0ccd4c0
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}