[pve-devel] r5901 - pve-manager/pve2/www/new/grid
svn-commits at proxmox.com
svn-commits at proxmox.com
Thu May 5 10:06:18 CEST 2011
Author: dietmar
Date: 2011-05-05 10:06:18 +0200 (Thu, 05 May 2011)
New Revision: 5901
Modified:
pve-manager/pve2/www/new/grid/ResourceGrid.js
Log:
re-enable chunking
Modified: pve-manager/pve2/www/new/grid/ResourceGrid.js
===================================================================
--- pve-manager/pve2/www/new/grid/ResourceGrid.js 2011-05-04 10:10:03 UTC (rev 5900)
+++ pve-manager/pve2/www/new/grid/ResourceGrid.js 2011-05-05 08:06:18 UTC (rev 5901)
@@ -5,11 +5,12 @@
var grid = this.view.up('gridpanel'),
scroller = grid.down('gridscroller[dock=right]');
if (scroller === null ) {
- grid.on("afterlayout", this.attachEvents, this, { single : true });
- return false;
+ grid.on("afterlayout", this.attachEvents, this);
+ return;
}
scroller.el.on('scroll', this.onBodyScroll, this, {buffer: 300});
- }
+ },
+ rowHeight: PVE.Utils.gridLineHeigh()
});
Ext.define('PVE.grid.ResourceGrid', {
@@ -25,8 +26,7 @@
'PVE.data.ResourceStore'
],
alias: ['widget.pveResourceGrid'],
- // fixme: use chunking to improve performance
- // features: [ {ftype: 'chunking'}],
+ features: [ {ftype: 'chunking'}],
initComponent : function() {
var me = this;
More information about the pve-devel
mailing list