Reload grid on render
This commit is contained in:
@@ -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} });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user