--- www/manager6/grid/ObjectGrid.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/www/manager6/grid/ObjectGrid.js b/www/manager6/grid/ObjectGrid.js index 466e7be..159c9c8 100644 --- a/www/manager6/grid/ObjectGrid.js +++ b/www/manager6/grid/ObjectGrid.js @@ -82,12 +82,12 @@ Ext.define('PVE.grid.ObjectGrid', { } if (me.sorterFn) { - store.sorters.add(new Ext.util.Sorter({ + store.sorters.add(Ext.create('Ext.util.Sorter', { sorterFn: me.sorterFn })); } - store.filters.add(new Ext.util.Filter({ + store.filters.add(Ext.create('Ext.util.Filter', { filterFn: function(item) { if (rows) { var rowdef = rows[item.data.key]; -- 2.1.4 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel