summaryrefslogtreecommitdiff
path: root/assets/js/src
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-09-10 23:12:38 -0400
committerFrederic Guillot <fred@kanboard.net>2016-09-10 23:12:38 -0400
commita0227cad69aff9486fba1d7b2a19e6da97450100 (patch)
treee4585be087759022b8a3d0108eacff3494da470e /assets/js/src
parent44f680cf2f1463721eb5bdb7eda4d3b339e63ba9 (diff)
Define only what is allowed for column restrictions
Diffstat (limited to 'assets/js/src')
-rw-r--r--assets/js/src/BoardDragAndDrop.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/assets/js/src/BoardDragAndDrop.js b/assets/js/src/BoardDragAndDrop.js
index b7850e3f..e84ab2b5 100644
--- a/assets/js/src/BoardDragAndDrop.js
+++ b/assets/js/src/BoardDragAndDrop.js
@@ -87,6 +87,12 @@ Kanboard.BoardDragAndDrop.prototype.save = function(taskId, srcColumnId, dstColu
error: function() {
self.app.hideLoadingIcon();
self.savingInProgress = false;
+ },
+ statusCode: {
+ 403: function(data) {
+ window.alert(data.responseJSON.message);
+ document.location.reload(true);
+ }
}
});
};