program/js/treelist.js | ●●●●● patch | view | raw | blame | history |
program/js/treelist.js
@@ -56,6 +56,7 @@ this.collapse = collapse; this.select = select; this.render = render; this.reset = reset; this.drag_start = drag_start; this.drag_end = drag_end; this.intersects = intersects; @@ -314,6 +315,20 @@ } /** * */ function reset() { select(''); data = []; indexbyid = {}; drag_active = false; container.html(''); } /** * Render the tree list from the internal data structure */ function render()