mirror of https://github.com/apache/cloudstack.git
cloudstack 3.0 UI - VPC - Enable StaticNat - tier dropdown - rename default option to be blank.
This commit is contained in:
parent
ca63738ec1
commit
16e0ccd4c0
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue