[pve-devel] r5910 - in pve-manager/pve2/www/new: form qemu

svn-commits at proxmox.com svn-commits at proxmox.com
Thu May 5 11:22:49 CEST 2011


Author: dietmar
Date: 2011-05-05 11:22:49 +0200 (Thu, 05 May 2011)
New Revision: 5910

Modified:
   pve-manager/pve2/www/new/form/FileSelector.js
   pve-manager/pve2/www/new/qemu/CreateWizard.js
Log:
cleanup


Modified: pve-manager/pve2/www/new/form/FileSelector.js
===================================================================
--- pve-manager/pve2/www/new/form/FileSelector.js	2011-05-05 09:16:07 UTC (rev 5909)
+++ pve-manager/pve2/www/new/form/FileSelector.js	2011-05-05 09:22:49 UTC (rev 5910)
@@ -23,20 +23,12 @@
 	if (!(me.storage && me.nodename && change))
 	    return;
 	
-	console.log("setStorage " + me.storage + " node " + me.nodename);
-
-	//me.setValue('');
-
 	me.store.setProxy({
 	    type: 'pve',
 	    url: '/api2/json/nodes/' + me.nodename + '/storage/' + me.storage
 	});
 
-	me.store.load({
-	    callback: function() {
-		console.log("TEST " + me.store.totalCount);
-	    }
-	});
+	me.store.load();
     },
 
     initComponent: function() {

Modified: pve-manager/pve2/www/new/qemu/CreateWizard.js
===================================================================
--- pve-manager/pve2/www/new/qemu/CreateWizard.js	2011-05-05 09:16:07 UTC (rev 5909)
+++ pve-manager/pve2/www/new/qemu/CreateWizard.js	2011-05-05 09:22:49 UTC (rev 5910)
@@ -267,6 +267,7 @@
 			{
 			    xtype: 'textfield',
 			    name: 'bridge',
+			    value: 'vmbr0',
 			    fieldLabel: 'Bridge',
 			    allowBlank: false
 			},




More information about the pve-devel mailing list