Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
WEBUI JS: EPG - do not restore sorting and filters from cookie
  • Loading branch information
perexg committed Oct 1, 2014
1 parent 4861168 commit ab8af7c
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/webui/static/app/epg.js
Expand Up @@ -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);
Expand All @@ -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();
});
Expand Down

0 comments on commit ab8af7c

Please sign in to comment.