summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-rw-r--r--assets/js/board.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/assets/js/board.js b/assets/js/board.js
index f43f3f57..0487005d 100644
--- a/assets/js/board.js
+++ b/assets/js/board.js
@@ -15,14 +15,14 @@
});
// Open assignee popover
- $(".task-board-user a").click(function(e) {
+ $(".task-board-popover").click(function(e) {
e.preventDefault();
e.stopPropagation();
- var taskId = $(this).parent().parent().attr("data-task-id");
+ var href = $(this).attr('href');
- $.get("?controller=board&action=assign&task_id=" + taskId, function(data) {
+ $.get(href, function(data) {
popover_show(data);
});
});