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:
@@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user