diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-09-10 23:12:38 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-09-10 23:12:38 -0400 |
commit | a0227cad69aff9486fba1d7b2a19e6da97450100 (patch) | |
tree | e4585be087759022b8a3d0108eacff3494da470e /assets/js/src | |
parent | 44f680cf2f1463721eb5bdb7eda4d3b339e63ba9 (diff) |
Define only what is allowed for column restrictions
Diffstat (limited to 'assets/js/src')
-rw-r--r-- | assets/js/src/BoardDragAndDrop.js | 6 |
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); + } } }); }; |