mirror of https://github.com/apache/cloudstack.git
ui: Fix SystemVMs public range dedication (#3495)
Fix small UI issue when dedicating public IR range for system VMs: Unable to execute API command createvlaniprange due to invalid value. Invalid parameter domainid value=undefined due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class. Fixes: #3485
This commit is contained in:
parent
e15c3112e4
commit
a1faf09a2c
|
|
@ -496,11 +496,13 @@
|
|||
if (args.data.account) {
|
||||
if (args.data.account.account)
|
||||
array1.push("&account=" + args.data.account.account);
|
||||
if (args.data.account.domainid) {
|
||||
array1.push("&domainid=" + args.data.account.domainid);
|
||||
}
|
||||
if (args.data.account.systemvms) {
|
||||
systvmsval = args.data.account.systemvms == "on" ? "true" : "false"
|
||||
array1.push("&forsystemvms=" + systvmsval);
|
||||
}
|
||||
array1.push("&domainid=" + args.data.account.domainid);
|
||||
}
|
||||
|
||||
array1.push("&forVirtualNetwork=true");
|
||||
|
|
|
|||
Loading…
Reference in New Issue