Merge branch 'move-add-item-up' of git://github.com/lkiesow/cryptpad into lkiesow-move-add-item-up

pull/1/head
yflory 5 years ago
commit 949cb54d14

@ -395,17 +395,16 @@
contentBoard.appendChild(nodeItem);
}
//footer board
var footerBoard = document.createElement('footer');
//add button
var addBoardItem = document.createElement('button');
$(addBoardItem).addClass("kanban-additem btn btn-default fa fa-plus");
footerBoard.appendChild(addBoardItem);
addBoardItem.setAttribute('title', 'Add new item');
$(addBoardItem).addClass("btn btn-default fa fa-plus");
headerBoard.appendChild(addBoardItem);
__onAddItemClickHandler(addBoardItem);
//board assembly
boardNode.appendChild(headerBoard);
boardNode.appendChild(contentBoard);
boardNode.appendChild(footerBoard);
//board add
self.container.appendChild(boardNode);
}

Loading…
Cancel
Save