Merge pull-request #3069

This commit is contained in:
Frederic Guillot 2017-02-23 18:03:15 -05:00
commit cf48b31762
2 changed files with 3 additions and 2 deletions

View File

@ -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) {

View File

@ -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() {