webui: enable state on all idnode based grids
This commit is contained in:
parent
6137958b79
commit
f0810d1e25
2 changed files with 8 additions and 0 deletions
|
@ -909,6 +909,8 @@ tvheadend.idnode_grid = function(panel, conf)
|
|||
'->', '-', 'Per page', count ]
|
||||
});
|
||||
var grid = new Ext.grid.EditorGridPanel({
|
||||
stateful : true,
|
||||
stateId : conf.url,
|
||||
stripeRows : true,
|
||||
title : conf.titleP,
|
||||
store : store,
|
||||
|
|
|
@ -5,6 +5,12 @@ tvheadend.conf_dvbin = null;
|
|||
tvheadend.conf_tsdvr = null;
|
||||
tvheadend.conf_csa = null;
|
||||
|
||||
/* State Provider */
|
||||
Ext.state.Manager.setProvider(new Ext.state.CookieProvider({
|
||||
// 7 days from now
|
||||
expires : new Date(new Date().getTime()+(1000*60*60*24*7)),
|
||||
}));
|
||||
|
||||
/**
|
||||
* Displays a help popup window
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue