Fix kanban issue

pull/1/head
yflory 5 years ago
parent 949cb54d14
commit 8f27389f6c

@ -280,7 +280,7 @@
nodeItem.dragfn = element.drag;
nodeItem.dragendfn = element.dragend;
nodeItem.dropfn = element.drop;
__onclickHandler(nodeItem);
__onclickHandler(nodeItemText);
__onColorClickHandler(nodeItem, "item");
board.appendChild(nodeItem);
// send event that board has changed
@ -397,8 +397,7 @@
//footer board
//add button
var addBoardItem = document.createElement('button');
addBoardItem.setAttribute('title', 'Add new item');
$(addBoardItem).addClass("btn btn-default fa fa-plus");
$(addBoardItem).addClass("kanban-title-button btn btn-default fa fa-plus");
headerBoard.appendChild(addBoardItem);
__onAddItemClickHandler(addBoardItem);

Loading…
Cancel
Save