You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by je...@apache.org on 2014/01/16 23:01:32 UTC

git commit: updated refs/heads/4.3 to 694d39d

Updated Branches:
  refs/heads/4.3 9c32605f2 -> 694d39d0f


CLOUDSTACK-5889: UI > VM Wizard > corresonding UI change for new change of deployVirtualMachine API (that customparameter parameter has been renamed)


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/694d39d0
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/694d39d0
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/694d39d0

Branch: refs/heads/4.3
Commit: 694d39d0fdb5777e166d95eb8619e2404591f95e
Parents: 9c32605
Author: Jessica Wang <je...@apache.org>
Authored: Thu Jan 16 14:01:09 2014 -0800
Committer: Jessica Wang <je...@apache.org>
Committed: Thu Jan 16 14:01:17 2014 -0800

----------------------------------------------------------------------
 ui/scripts/instanceWizard.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/694d39d0/ui/scripts/instanceWizard.js
----------------------------------------------------------------------
diff --git a/ui/scripts/instanceWizard.js b/ui/scripts/instanceWizard.js
index c83080c..646ffbf 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()
 	            	});
 	            }               
             }