From: Jaroslav Kysela Date: Thu, 19 Jun 2014 19:20:20 +0000 (+0200) Subject: webui: Do not open the info dialog when the "Play" link is clicked X-Git-Tag: v4.1~1876 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fc0d77b8288ba7c031e660d30b778cac394e19d5;p=thirdparty%2Ftvheadend.git webui: Do not open the info dialog when the "Play" link is clicked --- diff --git a/src/webui/static/app/dvr.js b/src/webui/static/app/dvr.js index 7ca5daa8d..6a68c755d 100644 --- a/src/webui/static/app/dvr.js +++ b/src/webui/static/app/dvr.js @@ -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; };