webui: Do not open the info dialog when the "Play" link is clicked
This commit is contained in:
parent
c0ca33b8b2
commit
fc0d77b828
1 changed files with 6 additions and 3 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue