mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
Revert "Hide and disable Keyboard Shortcuts, because they make using Ctrl-C to copy etc impossible."
This reverts commit 5606414f89
.
This commit is contained in:
parent
18f6d4cb16
commit
68c7a41906
3 changed files with 4 additions and 11 deletions
|
@ -5,10 +5,10 @@ template(name="sidebar")
|
|||
// title="{{showTongueTitle}}")
|
||||
// i.fa.fa-navicon
|
||||
.sidebar-actions
|
||||
//.sidebar-shortcuts
|
||||
// a.board-header-btn.js-shortcuts(title="{{_ 'keyboard-shortcuts' }}")
|
||||
// i.fa.fa-keyboard-o
|
||||
// span {{_ 'keyboard-shortcuts' }}
|
||||
.sidebar-shortcuts
|
||||
a.board-header-btn.js-shortcuts(title="{{_ 'keyboard-shortcuts' }}")
|
||||
i.fa.fa-keyboard-o
|
||||
span {{_ 'keyboard-shortcuts' }}
|
||||
a.sidebar-xmark.js-close-sidebar ✕
|
||||
.sidebar-content.js-board-sidebar-content
|
||||
//a.hide-btn.js-hide-sidebar
|
||||
|
|
|
@ -123,11 +123,9 @@ BlazeComponent.extendComponent({
|
|||
location.reload();
|
||||
}
|
||||
},
|
||||
/*
|
||||
'click .js-shortcuts'() {
|
||||
FlowRouter.go('shortcuts');
|
||||
},
|
||||
*/
|
||||
'click .js-close-sidebar'() {
|
||||
Sidebar.toggle()
|
||||
},
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
import { ReactiveCache } from '/imports/reactiveCache';
|
||||
|
||||
/*
|
||||
// XXX There is no reason to define these shortcuts globally, they should be
|
||||
// attached to a template (most of them will go in the `board` template).
|
||||
|
||||
|
@ -256,11 +255,8 @@ Mousetrap.bind('n', evt => {
|
|||
evt.preventDefault();
|
||||
}
|
||||
});
|
||||
*/
|
||||
|
||||
|
||||
Template.keyboardShortcuts.helpers({
|
||||
/*
|
||||
mapping: [
|
||||
{
|
||||
keys: ['w'],
|
||||
|
@ -323,5 +319,4 @@ Template.keyboardShortcuts.helpers({
|
|||
action: 'remove-labels-multiselect'
|
||||
},
|
||||
],
|
||||
*/
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue