diff --git a/src/webui/static/app/idnode.js b/src/webui/static/app/idnode.js index 746addf9..365e0056 100644 --- a/src/webui/static/app/idnode.js +++ b/src/webui/static/app/idnode.js @@ -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, diff --git a/src/webui/static/app/tvheadend.js b/src/webui/static/app/tvheadend.js index 6effc4f5..2dd626ca 100644 --- a/src/webui/static/app/tvheadend.js +++ b/src/webui/static/app/tvheadend.js @@ -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 */