Closed Rampesna closed 3 years ago
Thanks for opening a new issue. The team has been notified and will review it as soon as possible. For urgent issues and priority support, visit https://xscode.com/riktar/jkanban
I solved the problem but I don't know what caused the problem,
When i define it this way,
boardsList.push({
id: response.content[board].id,
title: response.content[board].name,
item: taskList,
order: response.content[board].order
});
not working but when i define it this way its working,
boardsList.push({
'id': response.content[board].id,
'title': response.content[board].name,
'item': taskList,
'order': response.content[board].order
});
This is my kanban object,
I am fetching data with ajax from api and deleting all items in having '.kanban-container' class, and loading kanban boards with this function,
But when i try to drag-drop any board item to another board, system give me an error,
void 0 !== i.dragTo && b.options.boards.map(function (e) { -1 === i.dragTo.indexOf(e.id) && e.id !== t.parentNode.dataset.id && b.findBoard(e.id).classList.add("disabled-board") }), b.options.dragEl(e, t), null !== e && "function" == typeof e.dragfn && e.dragfn(e, t),
To temporarily solve this problem, when defining the kanban, i doing:
I don't know why but for now it solves my problem but hopefully not more than a hundred boards or tasks.
What is the real problem and how can i fix it?