Merge branch 'move-add-item-up' of git://github.com/lkiesow/cryptpad into lkiesow-move-add-item-up
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…
Reference in New Issue