Add dropdown menu to the tasks
This commit is contained in:
@@ -4,7 +4,7 @@ Kanboard.Board = (function() {
|
||||
|
||||
function on_popover(e)
|
||||
{
|
||||
Kanboard.Popover(e, Kanboard.Init);
|
||||
Kanboard.Popover(e, Kanboard.InitAfterAjax);
|
||||
}
|
||||
|
||||
function keyboard_shortcuts()
|
||||
@@ -13,7 +13,7 @@ Kanboard.Board = (function() {
|
||||
|
||||
Kanboard.OpenPopover(
|
||||
$(".task-creation-popover").attr('href'),
|
||||
Kanboard.Init
|
||||
Kanboard.InitAfterAjax
|
||||
);
|
||||
});
|
||||
}
|
||||
@@ -38,10 +38,10 @@ Kanboard.Board = (function() {
|
||||
});
|
||||
|
||||
// Assignee change
|
||||
$(".assignee-popover").click(Kanboard.Popover);
|
||||
$(".assignee-popover").click(on_popover);
|
||||
|
||||
// Category change
|
||||
$(".category-popover").click(Kanboard.Popover);
|
||||
$(".category-popover").click(on_popover);
|
||||
|
||||
// Task edit popover
|
||||
$(".task-edit-popover").click(on_popover);
|
||||
@@ -50,6 +50,7 @@ Kanboard.Board = (function() {
|
||||
// Description popover
|
||||
$(".task-description-popover").click(on_popover);
|
||||
|
||||
// Tooltip for column description
|
||||
$(".column-tooltip").tooltip({
|
||||
content: function(e) {
|
||||
return $(this).attr("title");
|
||||
@@ -175,6 +176,7 @@ Kanboard.Board = (function() {
|
||||
success: function(data) {
|
||||
$("#board").remove();
|
||||
$("#main").append(data);
|
||||
Kanboard.InitAfterAjax();
|
||||
board_load_events();
|
||||
filter_apply();
|
||||
}
|
||||
@@ -192,6 +194,7 @@ Kanboard.Board = (function() {
|
||||
200: function(data) {
|
||||
$("#board").remove();
|
||||
$("#main").append(data);
|
||||
Kanboard.InitAfterAjax();
|
||||
board_unload_events();
|
||||
board_load_events();
|
||||
filter_apply();
|
||||
|
||||
Reference in New Issue
Block a user