diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-02-23 18:03:15 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-02-23 18:03:15 -0500 |
commit | cf48b3176273a260d2f3c9bffbee3877c0a57022 (patch) | |
tree | c18a35fa4bfd41d8b374debb6a8eafc4fc925c85 /assets/js | |
parent | d6d12f96a4309cd12925b052874f685351726aa9 (diff) | |
parent | de6f9452a124e76a614b494012f779854bf59ad0 (diff) |
Merge pull-request #3069
Diffstat (limited to 'assets/js')
-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() { |