webui: Do not open the info dialog when the "Play" link is clicked

This commit is contained in:
Jaroslav Kysela 2014-06-19 21:20:20 +02:00
parent c0ca33b8b2
commit fc0d77b828

View file

@ -493,10 +493,13 @@ tvheadend.dvrschedule = function(title, iconCls, dvrStore) {
bbar: bbar
});
panel.on('rowclick', rowclicked);
function rowclicked(grid, index) {
new tvheadend.dvrDetails(grid.getStore().getAt(index).data);
panel.on('cellclick', cellclicked);
function cellclicked(grid, rowIndex, colIndex) {
if (grid.getColumnModel().getColumnHeader(colIndex) !== 'Play')
new tvheadend.dvrDetails(grid.getStore().getAt(rowIndex).data);
}
return panel;
};