fix loading of the item color from saved state
This commit is contained in:
parent
2ef397a483
commit
e7a1433a30
@ -378,6 +378,10 @@
|
|||||||
nodeItemText.dropfn = itemKanban.drop;
|
nodeItemText.dropfn = itemKanban.drop;
|
||||||
//add click handler of item
|
//add click handler of item
|
||||||
__onclickHandler(nodeItemText);
|
__onclickHandler(nodeItemText);
|
||||||
|
if (itemKanban.color !== '' && itemKanban.color !== undefined) {
|
||||||
|
jscolorL = new jscolor(nodeItem,{valueElement:undefined});
|
||||||
|
jscolorL.fromString(itemKanban.color);
|
||||||
|
}
|
||||||
__onColorClickHandler(nodeItem, "item");
|
__onColorClickHandler(nodeItem, "item");
|
||||||
|
|
||||||
contentBoard.appendChild(nodeItem);
|
contentBoard.appendChild(nodeItem);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user