Use popover to edit task and description directly from board.

- Click on 'description' icon opens the 'edit-description' page.
- Edit task and edit description now open in popover, like the assign
dialog.
This commit is contained in:
Francois Ferrand
2014-06-26 15:52:39 +02:00
parent 06d0b7048e
commit 6d65cfd883
5 changed files with 68 additions and 31 deletions

View File

@@ -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);
});
});