committed by
Frédéric Guillot
parent
0adc73d583
commit
b212dd1c7d
@@ -62,7 +62,7 @@ KB.keyboardShortcuts = function () {
|
||||
|
||||
KB.onKey('n', function () {
|
||||
if (! KB.modal.isOpen()) {
|
||||
KB.modal.open(KB.find('#board').data('taskCreationUrl'), 'large', true);
|
||||
KB.modal.open(KB.find('#board').data('taskCreationUrl'), 'large', false);
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -70,25 +70,25 @@ KB.keyboardShortcuts = function () {
|
||||
if (KB.exists('#task-view')) {
|
||||
KB.onKey('e', function () {
|
||||
if (! KB.modal.isOpen()) {
|
||||
KB.modal.open(KB.find('#task-view').data('editUrl'), 'large', true);
|
||||
KB.modal.open(KB.find('#task-view').data('editUrl'), 'large', false);
|
||||
}
|
||||
});
|
||||
|
||||
KB.onKey('c', function () {
|
||||
if (! KB.modal.isOpen()) {
|
||||
KB.modal.open(KB.find('#task-view').data('commentUrl'), 'medium', true);
|
||||
KB.modal.open(KB.find('#task-view').data('commentUrl'), 'medium', false);
|
||||
}
|
||||
});
|
||||
|
||||
KB.onKey('s', function () {
|
||||
if (! KB.modal.isOpen()) {
|
||||
KB.modal.open(KB.find('#task-view').data('subtaskUrl'), 'medium', true);
|
||||
KB.modal.open(KB.find('#task-view').data('subtaskUrl'), 'medium', false);
|
||||
}
|
||||
});
|
||||
|
||||
KB.onKey('l', function () {
|
||||
if (! KB.modal.isOpen()) {
|
||||
KB.modal.open(KB.find('#task-view').data('internalLinkUrl'), 'medium', true);
|
||||
KB.modal.open(KB.find('#task-view').data('internalLinkUrl'), 'medium', false);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user