diff options
-rw-r--r-- | assets/js/src/BoardColumnView.js | 1 | ||||
-rw-r--r-- | assets/js/src/BoardDragAndDrop.js | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/assets/js/src/BoardColumnView.js b/assets/js/src/BoardColumnView.js index 2da1bdfa..b523f44a 100644 --- a/assets/js/src/BoardColumnView.js +++ b/assets/js/src/BoardColumnView.js @@ -38,6 +38,7 @@ Kanboard.BoardColumnView.prototype.toggle = function(columnId) { else { this.hideColumn(columnId); } + this.app.get("BoardDragAndDrop").dragAndDrop(); }; Kanboard.BoardColumnView.prototype.hideColumn = function(columnId) { diff --git a/assets/js/src/BoardDragAndDrop.js b/assets/js/src/BoardDragAndDrop.js index 5d2844de..77d22b55 100644 --- a/assets/js/src/BoardDragAndDrop.js +++ b/assets/js/src/BoardDragAndDrop.js @@ -5,8 +5,8 @@ Kanboard.BoardDragAndDrop = function(app) { Kanboard.BoardDragAndDrop.prototype.execute = function() { if (this.app.hasId("board")) { - this.dragAndDrop(); this.executeListeners(); + this.dragAndDrop(); } }; @@ -101,8 +101,8 @@ Kanboard.BoardDragAndDrop.prototype.refresh = function(data) { $("#board-container").replaceWith(data); this.app.hideLoadingIcon(); - this.dragAndDrop(); this.executeListeners(); + this.dragAndDrop(); }; Kanboard.BoardDragAndDrop.prototype.executeListeners = function() { |