Display confirmation box to close task from the board and improve popover listeners
This commit is contained in:
@@ -178,11 +178,6 @@ var Kanboard = (function() {
|
||||
// Check the session every 60s
|
||||
window.setInterval(Kanboard.CheckSession, 60000);
|
||||
|
||||
$(".popover-subtask-restriction").click(Kanboard.Popover);
|
||||
|
||||
// Image preview for attachments
|
||||
$(".file-popover").click(Kanboard.Popover);
|
||||
|
||||
// Keyboard shortcuts
|
||||
Mousetrap.bind("mod+enter", function() {
|
||||
$("form").submit();
|
||||
@@ -207,6 +202,9 @@ var Kanboard = (function() {
|
||||
|
||||
InitAfterAjax: function() {
|
||||
|
||||
// Popover
|
||||
$(document).on("click", ".popover", Kanboard.Popover);
|
||||
|
||||
// Datepicker
|
||||
$(".form-date").datepicker({
|
||||
showOtherMonths: true,
|
||||
|
||||
Reference in New Issue
Block a user