mirror of
https://github.com/wekan/wekan.git
synced 2026-01-01 23:28:49 +01:00
Fix, move to top now works after moving the card (card details action popup)
This commit is contained in:
parent
e6f94c9d16
commit
0313e21ca1
1 changed files with 6 additions and 0 deletions
|
|
@ -820,6 +820,12 @@ Template.moveCardPopup.events({
|
|||
const slSelect = $('.js-select-swimlanes')[0];
|
||||
const swimlaneId = slSelect.options[slSelect.selectedIndex].value;
|
||||
card.move(boardId, swimlaneId, listId, 0);
|
||||
|
||||
// set new id's to card object in case the card is moved to top by the comment "moveCard" after this command (.js-move-card)
|
||||
this.boardId = boardId;
|
||||
this.swimlaneId = swimlaneId;
|
||||
this.listId = listId;
|
||||
|
||||
Popup.back();
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue