Changed the shortcut to select all cards

This commit is contained in:
Giulio Cesare Solaroli 2015-09-10 14:56:07 +02:00
parent e2d7716389
commit f040418399
2 changed files with 3 additions and 3 deletions

View File

@ -48,8 +48,8 @@ Clipperz.PM.UI.Components.HelpClass = React.createClass({
]), React.DOM.dd({}, "search cards"), ]), React.DOM.dd({}, "search cards"),
React.DOM.dt({}, [ React.DOM.dt({}, [
React.DOM.span({'className':'key'}, '*'), React.DOM.span({'className':'key'}, '*'),
React.DOM.span({'className':'operator'}, 'then'), // React.DOM.span({'className':'operator'}, 'then'),
React.DOM.span({'className':'key'}, 'a'), // React.DOM.span({'className':'key'}, 'a'),
]), React.DOM.dd({}, "select all cards"), ]), React.DOM.dd({}, "select all cards"),
]) ])
]), ]),

View File

@ -95,7 +95,7 @@ Clipperz.PM.UI.MainController = function() {
Mousetrap.bind(['up', 'k'], MochiKit.Base.method(this, 'selectPreviousCard')); Mousetrap.bind(['up', 'k'], MochiKit.Base.method(this, 'selectPreviousCard'));
Mousetrap.bind(['down', 'j'], MochiKit.Base.method(this, 'selectNextCard')); 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')); Mousetrap.bind(['?'], MochiKit.Base.method(this, 'showHelp_handler'));