mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
cloudstack 3.0 UI - autoscale - existing LB - configure AutoScale - fix a JS bug "otherdeployparams is undefined".
This commit is contained in:
parent
45f8b8f553
commit
b8d006c8f5
@ -142,6 +142,7 @@
|
|||||||
|
|
||||||
var diskOfferingId, securityGroups;
|
var diskOfferingId, securityGroups;
|
||||||
var otherdeployparams = autoscaleVmProfile.otherdeployparams;
|
var otherdeployparams = autoscaleVmProfile.otherdeployparams;
|
||||||
|
if(otherdeployparams != null && otherdeployparams.length > 0) {
|
||||||
var array1 = otherdeployparams.split('&');
|
var array1 = otherdeployparams.split('&');
|
||||||
$(array1).each(function(){
|
$(array1).each(function(){
|
||||||
var array2 = this.split('=');
|
var array2 = this.split('=');
|
||||||
@ -150,6 +151,7 @@
|
|||||||
if(array2[0] == 'securitygroupids')
|
if(array2[0] == 'securitygroupids')
|
||||||
securityGroups = array2[1];
|
securityGroups = array2[1];
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
var originalAutoscaleData = {
|
var originalAutoscaleData = {
|
||||||
templateNames: autoscaleVmProfile.templateid,
|
templateNames: autoscaleVmProfile.templateid,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user