CS-17074: cloudstack UI - Advanced SG-enabled zone - Infrastructure menu - create guest network - scope dropdown - add option "All".

This commit is contained in:
Jessica Wang 2013-01-16 15:06:27 -08:00
parent a69e7f9bf6
commit eeb3f1725d
1 changed files with 1 additions and 0 deletions

View File

@ -1148,6 +1148,7 @@
var array1 = [];
if(args.context.zones[0].networktype == "Advanced" && args.context.zones[0].securitygroupsenabled == true) {
array1.push({id: 'account-specific', description: 'Account'});
array1.push({id: 'zone-wide', description: 'All'});
}
else {
array1.push({id: 'zone-wide', description: 'All'});