diff options
Diffstat (limited to 'assets/js/board.js')
-rw-r--r-- | assets/js/board.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/assets/js/board.js b/assets/js/board.js index d67521df..7742f3df 100644 --- a/assets/js/board.js +++ b/assets/js/board.js @@ -211,4 +211,10 @@ col.addEventListener('drop', handleColumnDrop, false); }); -}());
\ No newline at end of file + [].forEach.call(document.querySelectorAll('[data-task-id]'), function (item) { + item.addEventListener('click', function() { + window.location.href = '?controller=task&action=show&task_id=' + item.getAttribute('data-task-id'); + }); + }); + +}()); |