Fix wrong index when editing a kanban item
This commit is contained in:
parent
aa5484ff21
commit
f381ca8cab
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user