Change to first page on reset or filter changes
This commit is contained in:
parent
ae12a34c02
commit
c3b68b62ff
1 changed files with 6 additions and 0 deletions
|
@ -202,12 +202,15 @@ tvheadend.epg = function() {
|
|||
epgFilterChannelTags.setValue("");
|
||||
epgFilterContentGroup.setValue("");
|
||||
epgFilterTitle.setValue("");
|
||||
|
||||
panel.getBottomToolbar().changePage(1);
|
||||
|
||||
epgStore.reload();
|
||||
}
|
||||
|
||||
epgFilterChannels.on('select', function(c, r) {
|
||||
if(epgStore.baseParams.channel != r.data.name) {
|
||||
panel.getBottomToolbar().changePage(1);
|
||||
epgStore.baseParams.channel = r.data.name;
|
||||
epgStore.reload();
|
||||
}
|
||||
|
@ -215,6 +218,7 @@ tvheadend.epg = function() {
|
|||
|
||||
epgFilterChannelTags.on('select', function(c, r) {
|
||||
if(epgStore.baseParams.tag != r.data.name) {
|
||||
panel.getBottomToolbar().changePage(1);
|
||||
epgStore.baseParams.tag = r.data.name;
|
||||
epgStore.reload();
|
||||
}
|
||||
|
@ -222,6 +226,7 @@ tvheadend.epg = function() {
|
|||
|
||||
epgFilterContentGroup.on('select', function(c, r) {
|
||||
if(epgStore.baseParams.contentgrp != r.data.name) {
|
||||
panel.getBottomToolbar().changePage(1);
|
||||
epgStore.baseParams.contentgrp = r.data.name;
|
||||
epgStore.reload();
|
||||
}
|
||||
|
@ -234,6 +239,7 @@ tvheadend.epg = function() {
|
|||
value = null;
|
||||
|
||||
if(epgStore.baseParams.title != value) {
|
||||
panel.getBottomToolbar().changePage(1);
|
||||
epgStore.baseParams.title = value;
|
||||
epgStore.reload();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue