From 3f359bb641b27211762e8274c13488f24f96f48c Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Thu, 16 Jan 2014 14:01:09 -0800 Subject: [PATCH] CLOUDSTACK-5889: UI > VM Wizard > corresonding UI change for new change of deployVirtualMachine API (that customparameter parameter has been renamed) --- ui/scripts/instanceWizard.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/scripts/instanceWizard.js b/ui/scripts/instanceWizard.js index c83080cb0d1..646ffbf5b19 100644 --- a/ui/scripts/instanceWizard.js +++ b/ui/scripts/instanceWizard.js @@ -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]').val().length > 0) { $.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) { $.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) { $.extend(deployVmData, { - 'customparameters[0].memory' : args.$wizard.find('input[name=compute-memory]').val() + 'details[0].memory' : args.$wizard.find('input[name=compute-memory]').val() }); } }