Skip to content

Commit e6d43e1

Browse files
author
Jessica Wang
committed
bug 14073: Quick Installer - make zones created from Quick Installer to be public (not dedicated to any domain)
1 parent e992a25 commit e6d43e1

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

ui/scripts/installWizard.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,7 @@
264264
// Plug in hard-coded values specific to quick install
265265
data: {
266266
zone: {
267-
networkType: 'Basic',
268-
domain: 1,
267+
networkType: 'Basic',
269268
networkOfferingId: selectedNetworkOffering.id
270269
},
271270
pluginFrom: {

ui/scripts/zoneWizard.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1017,9 +1017,11 @@
10171017
if (internaldns2 != null && internaldns2.length > 0)
10181018
array1.push("&internaldns2=" + todb(internaldns2));
10191019

1020-
if(args.data.zone.ispublic == null) //public checkbox is unchecked
1021-
array1.push("&domainid=" + args.data.zone.domain);
1022-
1020+
if(args.data.pluginFrom == null) { //from zone wizard, not from quick instsaller(args.data.pluginFrom != null && args.data.pluginFrom.name == 'installWizard') who doesn't have public checkbox
1021+
if(args.data.zone.ispublic == null) //public checkbox in zone wizard is unchecked
1022+
array1.push("&domainid=" + args.data.zone.domain);
1023+
}
1024+
10231025
if(args.data.zone.networkdomain != null && args.data.zone.networkdomain.length > 0)
10241026
array1.push("&domain=" + todb(args.data.zone.networkdomain));
10251027

0 commit comments

Comments
 (0)