]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
WebUI: Add Ctrl+A/select-all to DVR grids
authorProfYaffle <ian@sproink.co.uk>
Sun, 1 Nov 2015 10:00:01 +0000 (10:00 +0000)
committerJaroslav Kysela <perex@perex.cz>
Mon, 2 Nov 2015 19:19:14 +0000 (20:19 +0100)
src/webui/static/app/idnode.js

index 4e3494d34d9453ed093bfe766f447a5765b197cd..c21e5c02071a3a9a19ee8b7926534a54912d932c 100644 (file)
@@ -1609,6 +1609,14 @@ tvheadend.idnode_grid = function(panel, conf)
             viewConfig: {
                 forceFit: true
             },
+            keys: {
+                key: 'a',
+                ctrl: true,
+                stopEvent: true,
+                handler: function() {
+                    grid.getSelectionModel().selectAll();
+                }
+            },
             tbar: buttons,
             bbar: page
         };