[pve-devel] [PATCH pve-manager 1/3] ext6migrate: force an empty array as default value for filters

Emmanuel Kasper e.kasper at proxmox.com
Mon Nov 16 14:02:14 CET 2015


Without this, filters.add() in line 73 file fails
---
 www/manager6/grid/ObjectGrid.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager6/grid/ObjectGrid.js b/www/manager6/grid/ObjectGrid.js
index cd135a1..8513709 100644
--- a/www/manager6/grid/ObjectGrid.js
+++ b/www/manager6/grid/ObjectGrid.js
@@ -52,7 +52,7 @@ Ext.define('PVE.grid.ObjectGrid', {
 
 	var rstore = me.rstore;
 
-	var store = Ext.create('PVE.data.DiffStore', { rstore: rstore });
+	var store = Ext.create('PVE.data.DiffStore', { rstore: rstore, filters: [] });
 
 	if (rows) {
 	    Ext.Object.each(rows, function(key, rowdef) {
-- 
2.1.4





More information about the pve-devel mailing list