Add color picker to items

This commit is contained in:
MTRNord
2018-07-31 20:08:06 +02:00
parent 8df1dc19f2
commit 1bf1253963
2 changed files with 86 additions and 62 deletions

View File

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