summaryrefslogtreecommitdiff
path: root/assets/js/src
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js/src')
-rw-r--r--assets/js/src/BoardTask.js20
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");
- }
- });
-};