From f381ca8cab9a4b2c5460f49e2cd51fb7d1a89eb4 Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 5 Feb 2019 14:41:00 +0100 Subject: [PATCH] Fix wrong index when editing a kanban item --- www/kanban/inner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/kanban/inner.js b/www/kanban/inner.js index ababeb565..279e30362 100644 --- a/www/kanban/inner.js +++ b/www/kanban/inner.js @@ -140,7 +140,7 @@ define([ $(el).text(name); // Save the value for the correct board var board = $(el.parentNode.parentNode.parentNode).attr("data-id"); - var pos = kanban.findElementPosition(el); + var pos = kanban.findElementPosition(el.parentNode); kanban.getBoardJSON(board).item[pos].title = name; kanban.onChange(); // Unlock edit mode