Reload grid on render

This commit is contained in:
Brendan Coles
2015-01-31 22:51:30 +00:00
parent 4b8aa2d0a2
commit e11ab70c61

View File

@@ -568,7 +568,7 @@ ZombieTab_Network = function(zombie) {
grid.rowCtxMenu.showAt(e.getXY()); grid.rowCtxMenu.showAt(e.getXY());
}, },
afterrender: function(datagrid) { afterrender: function(datagrid) {
datagrid.store.reload(); datagrid.store.reload({ params: {nonce: Ext.get ("nonce").dom.value} });
} }
} }
@@ -581,7 +581,7 @@ ZombieTab_Network = function(zombie) {
layout: 'fit', layout: 'fit',
listeners: { listeners: {
activate: function(hosts_panel) { activate: function(hosts_panel) {
hosts_panel.items.items[0].store.reload(); hosts_panel.items.items[0].store.reload({ params: {nonce: Ext.get ("nonce").dom.value} });
} }
} }
}); });