[pve-devel] r5512 - pve-manager/pve2/www/manager
svn-commits at proxmox.com
svn-commits at proxmox.com
Fri Feb 11 11:25:04 CET 2011
Author: dietmar
Date: 2011-02-11 11:25:03 +0100 (Fri, 11 Feb 2011)
New Revision: 5512
Modified:
pve-manager/pve2/www/manager/StorageBrowser.js
Log:
trigger load with 'show' event
Modified: pve-manager/pve2/www/manager/StorageBrowser.js
===================================================================
--- pve-manager/pve2/www/manager/StorageBrowser.js 2011-02-11 10:07:14 UTC (rev 5511)
+++ pve-manager/pve2/www/manager/StorageBrowser.js 2011-02-11 10:25:03 UTC (rev 5512)
@@ -17,7 +17,6 @@
var store = new Ext.data.JsonStore({
url: "/api2/json/nodes/" + node + "/storage/" + storeid,
autoDestory: true,
- autoLoad: true,
root: 'data',
restful: true, // use GET, not POST
baseParams: params,
@@ -88,6 +87,12 @@
}
],
+ listeners: {
+ show: function() {
+ store.load();
+ }
+ },
+
sm: new Ext.grid.RowSelectionModel({singleSelect:true})
});
More information about the pve-devel
mailing list