WEBUI JS: EPG: Fix the clickable channel linking (autorec issue)

This commit is contained in:
Jaroslav Kysela 2014-09-29 16:53:09 +02:00
parent 05779c2a0d
commit b528de6b05

View file

@ -771,9 +771,10 @@ tvheadend.epg = function() {
return false;
}
} else if (column.dataIndex === 'channelName') {
var value = grid.getStore().getAt(index).data[column.dataIndex];
var rec = grid.getStore().getAt(index).data;
var value = rec['channelUuid'];
if (value && epgStore.baseParams.channel !== value) {
epgFilterChannels.setValue(value);
epgFilterChannels.setValue(rec['channelName']);
epgFilterChannelSet(value);
return false;
}