Add subtasks restrictions and time tracking
This commit is contained in:
@@ -178,6 +178,8 @@ var Kanboard = (function() {
|
||||
$("form").submit();
|
||||
});
|
||||
|
||||
$(".popover-subtask-restriction").click(Kanboard.Popover);
|
||||
|
||||
Kanboard.InitAfterAjax();
|
||||
},
|
||||
|
||||
|
||||
@@ -107,7 +107,13 @@ Kanboard.Board = (function() {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
|
||||
$.get($(this).attr('href'), setTooltipContent);
|
||||
if ($(this).hasClass("popover-subtask-restriction")) {
|
||||
Kanboard.OpenPopover($(this).attr('href'));
|
||||
$(_this).tooltip('close');
|
||||
}
|
||||
else {
|
||||
$.get($(this).attr('href'), setTooltipContent);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user