From f040418399218045ece0dbe7eed787b10d25e14a Mon Sep 17 00:00:00 2001 From: Giulio Cesare Solaroli Date: Thu, 10 Sep 2015 14:56:07 +0200 Subject: [PATCH] Changed the shortcut to select all cards --- frontend/delta/js/Clipperz/PM/UI/Components/Help.js | 4 ++-- frontend/delta/js/Clipperz/PM/UI/MainController.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/delta/js/Clipperz/PM/UI/Components/Help.js b/frontend/delta/js/Clipperz/PM/UI/Components/Help.js index 8e9d87b..4e06013 100644 --- a/frontend/delta/js/Clipperz/PM/UI/Components/Help.js +++ b/frontend/delta/js/Clipperz/PM/UI/Components/Help.js @@ -48,8 +48,8 @@ Clipperz.PM.UI.Components.HelpClass = React.createClass({ ]), React.DOM.dd({}, "search cards"), React.DOM.dt({}, [ React.DOM.span({'className':'key'}, '*'), - React.DOM.span({'className':'operator'}, 'then'), - React.DOM.span({'className':'key'}, 'a'), +// React.DOM.span({'className':'operator'}, 'then'), +// React.DOM.span({'className':'key'}, 'a'), ]), React.DOM.dd({}, "select all cards"), ]) ]), diff --git a/frontend/delta/js/Clipperz/PM/UI/MainController.js b/frontend/delta/js/Clipperz/PM/UI/MainController.js index c1fc13e..81e6b75 100644 --- a/frontend/delta/js/Clipperz/PM/UI/MainController.js +++ b/frontend/delta/js/Clipperz/PM/UI/MainController.js @@ -95,7 +95,7 @@ Clipperz.PM.UI.MainController = function() { Mousetrap.bind(['up', 'k'], MochiKit.Base.method(this, 'selectPreviousCard')); Mousetrap.bind(['down', 'j'], MochiKit.Base.method(this, 'selectNextCard')); - Mousetrap.bind(['* a'], MochiKit.Base.method(this, 'selectAllCards_handler')); + Mousetrap.bind(['*'], MochiKit.Base.method(this, 'selectAllCards_handler')); Mousetrap.bind(['?'], MochiKit.Base.method(this, 'showHelp_handler'));