WEBUI JS: EPG - do not restore sorting and filters from cookie
This commit is contained in:
parent
4861168d70
commit
ab8af7c990
1 changed files with 11 additions and 2 deletions
|
@ -754,7 +754,16 @@ tvheadend.epg = function() {
|
|||
bbar: new Ext.ux.grid.livegrid.Toolbar({
|
||||
view: epgView,
|
||||
displayInfo: true
|
||||
})
|
||||
}),
|
||||
listeners: {
|
||||
beforestaterestore: {
|
||||
fn: function(grid, state) {
|
||||
/* do not restore sorting and filters */
|
||||
state.sort = {};
|
||||
state.filters = {};
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
panel.on('rowclick', rowclicked);
|
||||
|
@ -768,7 +777,7 @@ tvheadend.epg = function() {
|
|||
* Only do this when the tab is visible, otherwise it won't work as
|
||||
* expected.
|
||||
*/
|
||||
tvheadend.comet.on('dvrdb', function() {
|
||||
tvheadend.comet.on('dvrentry', function() {
|
||||
if (panel.isVisible())
|
||||
epgStore.reload();
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue