You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by jf...@apache.org on 2012/11/15 20:31:09 UTC

svn commit: r1409944 - /vcl/trunk/web/js/vm.js

Author: jfthomps
Date: Thu Nov 15 19:31:09 2012
New Revision: 1409944

URL: http://svn.apache.org/viewvc?rev=1409944&view=rev
Log:
VCL-627
image type fields on VM Host Profile page do not get updated 

vm.js: modified getVMprofileDataCB - added lines to update repository image type and virtual disk image type

Modified:
    vcl/trunk/web/js/vm.js

Modified: vcl/trunk/web/js/vm.js
URL: http://svn.apache.org/viewvc/vcl/trunk/web/js/vm.js?rev=1409944&r1=1409943&r2=1409944&view=diff
==============================================================================
--- vcl/trunk/web/js/vm.js (original)
+++ vcl/trunk/web/js/vm.js Thu Nov 15 19:31:09 2012
@@ -604,7 +604,9 @@ function getVMprofileDataCB(data, ioArgs
 	dijit.byId('pname').setValue(curprofile.profilename);
 	dijit.byId('presourcepath').setValue(curprofile.resourcepath);
 	dijit.byId('prepositorypath').setValue(curprofile.repositorypath);
+	dijit.byId('prepositoryimgtype').setValue(curprofile.repositoryimagetypeid);
 	dijit.byId('pdspath').setValue(curprofile.datastorepath);
+	dijit.byId('pdatastoreimgtype').setValue(curprofile.datastoreimagetypeid);
 	dijit.byId('pvmpath').setValue(curprofile.vmpath);
 	dijit.byId('pvs0').setValue(curprofile.virtualswitch0);
 	dijit.byId('pvs1').setValue(curprofile.virtualswitch1);