mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-5889: UI > VM Wizard > corresonding UI change for new change of deployVirtualMachine API (that customparameter parameter has been renamed)
This commit is contained in:
parent
47fd67b7fa
commit
3f359bb641
@ -613,17 +613,17 @@
|
|||||||
if (args.$wizard.find('input[name=compute-cpu-cores]').parent().parent().css('display') != 'none') {
|
if (args.$wizard.find('input[name=compute-cpu-cores]').parent().parent().css('display') != 'none') {
|
||||||
if (args.$wizard.find('input[name=compute-cpu-cores]').val().length > 0) {
|
if (args.$wizard.find('input[name=compute-cpu-cores]').val().length > 0) {
|
||||||
$.extend(deployVmData, {
|
$.extend(deployVmData, {
|
||||||
'customparameters[0].cpuNumber' : args.$wizard.find('input[name=compute-cpu-cores]').val()
|
'details[0].cpuNumber' : args.$wizard.find('input[name=compute-cpu-cores]').val()
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (args.$wizard.find('input[name=compute-cpu]').val().length > 0) {
|
if (args.$wizard.find('input[name=compute-cpu]').val().length > 0) {
|
||||||
$.extend(deployVmData, {
|
$.extend(deployVmData, {
|
||||||
'customparameters[0].cpuSpeed' : args.$wizard.find('input[name=compute-cpu]').val()
|
'details[0].cpuSpeed' : args.$wizard.find('input[name=compute-cpu]').val()
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (args.$wizard.find('input[name=compute-memory]').val().length > 0) {
|
if (args.$wizard.find('input[name=compute-memory]').val().length > 0) {
|
||||||
$.extend(deployVmData, {
|
$.extend(deployVmData, {
|
||||||
'customparameters[0].memory' : args.$wizard.find('input[name=compute-memory]').val()
|
'details[0].memory' : args.$wizard.find('input[name=compute-memory]').val()
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user