Fix kanban items issues

This commit is contained in:
yflory
2019-09-25 14:52:24 +02:00
parent 42a6a419c1
commit 4d799a8552
2 changed files with 5 additions and 2 deletions

View File

@@ -139,7 +139,7 @@ define([
// Remove the input
$(el).text(name);
// Save the value for the correct board
var board = $(el.parentNode.parentNode.parentNode).attr("data-id");
var board = $(el).closest('.kanban-board').attr("data-id");
var pos = kanban.findElementPosition(el.parentNode);
kanban.getBoardJSON(board).item[pos].title = name;
kanban.onChange();