diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-02-11 17:22:10 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-02-11 17:22:10 -0500 |
commit | 8bf054a480ecc2d31b857cb27bd6256f1efdd74c (patch) | |
tree | 390065e6c102bc3e8d5dcf5b5e6d7174e5b26da2 /assets/js/src | |
parent | 28052edb22cb0a65d3ad81c7654a0673de82e1ac (diff) |
Open comments in board view with a modal dialog instead of tooltip
Diffstat (limited to 'assets/js/src')
-rw-r--r-- | assets/js/src/BoardTask.js | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/assets/js/src/BoardTask.js b/assets/js/src/BoardTask.js deleted file mode 100644 index 8a0577d9..00000000 --- a/assets/js/src/BoardTask.js +++ /dev/null @@ -1,20 +0,0 @@ -Kanboard.BoardTask = function(app) { - this.app = app; -}; - -// TODO: rewrite this code -Kanboard.BoardTask.prototype.listen = function() { - var self = this; - - $(document).on("click", ".task-board-change-assignee", function(e) { - e.preventDefault(); - e.stopPropagation(); - KB.modal.open($(this).data("url"), "medium", false); - }); - - $(document).on("click", ".task-board", function(e) { - if (e.target.tagName != "A" && e.target.tagName != "IMG") { - window.location = $(this).data("task-url"); - } - }); -}; |