Removed useless keyboard shortcut
This commit is contained in:
@@ -19,7 +19,6 @@
|
|||||||
<h3><?= t('Task view') ?></h3>
|
<h3><?= t('Task view') ?></h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li><?= t('Edit task') ?> = <strong>e</strong></li>
|
<li><?= t('Edit task') ?> = <strong>e</strong></li>
|
||||||
<li><?= t('Edit description') ?> = <strong>d</strong></li>
|
|
||||||
<li><?= t('New subtask') ?> = <strong>s</strong></li>
|
<li><?= t('New subtask') ?> = <strong>s</strong></li>
|
||||||
<li><?= t('New comment') ?> = <strong>c</strong></li>
|
<li><?= t('New comment') ?> = <strong>c</strong></li>
|
||||||
<li><?= t('New internal link') ?> = <strong>l</strong></li>
|
<li><?= t('New internal link') ?> = <strong>l</strong></li>
|
||||||
@@ -33,4 +32,4 @@
|
|||||||
<li><?= t('Close dialog box') ?> = <strong>ESC</strong></li>
|
<li><?= t('Close dialog box') ?> = <strong>ESC</strong></li>
|
||||||
<li><?= t('Submit a form') ?> = <strong>CTRL+ENTER</strong> <?= t('or') ?> <strong>⌘+ENTER</strong></li>
|
<li><?= t('Submit a form') ?> = <strong>CTRL+ENTER</strong> <?= t('or') ?> <strong>⌘+ENTER</strong></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
<section
|
<section
|
||||||
class="sidebar-container" id="task-view"
|
class="sidebar-container" id="task-view"
|
||||||
data-edit-url="<?= $this->url->href('TaskModificationController', 'edit', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"
|
data-edit-url="<?= $this->url->href('TaskModificationController', 'edit', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"
|
||||||
data-description-url="<?= $this->url->href('TaskModificationController', 'description', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"
|
|
||||||
data-subtask-url="<?= $this->url->href('SubtaskController', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"
|
data-subtask-url="<?= $this->url->href('SubtaskController', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"
|
||||||
data-internal-link-url="<?= $this->url->href('TaskInternalLinkController', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"
|
data-internal-link-url="<?= $this->url->href('TaskInternalLinkController', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"
|
||||||
data-comment-url="<?= $this->url->href('CommentController', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>">
|
data-comment-url="<?= $this->url->href('CommentController', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>">
|
||||||
|
|||||||
2
assets/js/app.min.js
vendored
2
assets/js/app.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -11,10 +11,6 @@ Kanboard.Task.prototype.keyboardShortcuts = function() {
|
|||||||
self.app.get("Popover").open(taskView.data("edit-url"));
|
self.app.get("Popover").open(taskView.data("edit-url"));
|
||||||
});
|
});
|
||||||
|
|
||||||
Mousetrap.bind("d", function() {
|
|
||||||
self.app.get("Popover").open(taskView.data("description-url"));
|
|
||||||
});
|
|
||||||
|
|
||||||
Mousetrap.bind("c", function() {
|
Mousetrap.bind("c", function() {
|
||||||
self.app.get("Popover").open(taskView.data("comment-url"));
|
self.app.get("Popover").open(taskView.data("comment-url"));
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user