cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jessicaw...@apache.org
Subject git commit: updated refs/heads/master to 3f359bb
Date Thu, 16 Jan 2014 22:02:21 GMT
Updated Branches:
  refs/heads/master 47fd67b7f -> 3f359bb64


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/3f359bb6
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/3f359bb6
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/3f359bb6

Branch: refs/heads/master
Commit: 3f359bb641b27211762e8274c13488f24f96f48c
Parents: 47fd67b
Author: Jessica Wang <jessicawang@apache.org>
Authored: Thu Jan 16 14:01:09 2014 -0800
Committer: Jessica Wang <jessicawang@apache.org>
Committed: Thu Jan 16 14:02:11 2014 -0800

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/3f359bb6/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()
 	            	});
 	            }               
             }


Mime
View raw message