From 4c733eb715a0939b8a12f68ad97660ffc1933d16 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 20 Mar 2016 16:29:20 -0400 Subject: Addded new keyboard shortcut to edit the task description --- assets/js/src/Task.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'assets/js/src') diff --git a/assets/js/src/Task.js b/assets/js/src/Task.js index 162386ea..e19e6b2d 100644 --- a/assets/js/src/Task.js +++ b/assets/js/src/Task.js @@ -11,6 +11,10 @@ Kanboard.Task.prototype.keyboardShortcuts = function() { 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() { self.app.get("Popover").open(taskView.data("comment-url")); }); -- cgit v1.2.3