mirror of https://github.com/xwiki-labs/cryptpad
Fix concurrent move
This commit is contained in:
parent
889b18a1ff
commit
1b2bb5b693
www/kanban
|
@ -199,6 +199,8 @@
|
|||
var id1 = $(el).attr('data-eid');
|
||||
var pos1 = board1.item.indexOf(id1);
|
||||
|
||||
if (pos1 === -1) { return; }
|
||||
|
||||
if (target.classList.contains('kanban-trash')) {
|
||||
board1.item.splice(pos1, 1);
|
||||
delete self.options.boards.items[id1];
|
||||
|
|
Loading…
Reference in New Issue