summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorChristoph Jahn <cj@road42.de>2019-06-21 10:11:40 +0200
committerChristoph Jahn <cj@road42.de>2019-06-21 10:11:40 +0200
commite8f4c4d8b8de9c2c9543e86bf829f1e20d84ed3b (patch)
tree2a0f0a85c0b1290fd6ff69def1a963422602ca6a /client
parent02de9164f014e149d3536a7c3cae88beda358318 (diff)
downloadwekan-e8f4c4d8b8de9c2c9543e86bf829f1e20d84ed3b.tar.gz
wekan-e8f4c4d8b8de9c2c9543e86bf829f1e20d84ed3b.tar.bz2
wekan-e8f4c4d8b8de9c2c9543e86bf829f1e20d84ed3b.zip
Inferface: Can move cardToTop/Bottom. Fixes #2289
Diffstat (limited to 'client')
-rw-r--r--client/components/cards/cardDetails.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js
index c9254751..2d875ca2 100644
--- a/client/components/cards/cardDetails.js
+++ b/client/components/cards/cardDetails.js
@@ -345,12 +345,12 @@ Template.cardDetailsActionsPopup.events({
'click .js-move-card-to-top' (evt) {
evt.preventDefault();
const minOrder = _.min(this.list().cards(this.swimlaneId).map((c) => c.sort));
- this.move(this.swimlaneId, this.listId, minOrder - 1);
+ this.move(this.boardId, this.swimlaneId, this.listId, minOrder - 1);
},
'click .js-move-card-to-bottom' (evt) {
evt.preventDefault();
const maxOrder = _.max(this.list().cards(this.swimlaneId).map((c) => c.sort));
- this.move(this.swimlaneId, this.listId, maxOrder + 1);
+ this.move(this.boardId, this.swimlaneId, this.listId, maxOrder + 1);
},
'click .js-archive' (evt) {
evt.preventDefault();