diff -r 12f4f2509a38 -r 6718c03f8938 web/data/jquery-treeview/jquery.treeview.async.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/data/jquery-treeview/jquery.treeview.async.js Thu Oct 23 11:42:20 2014 +0200 @@ -0,0 +1,108 @@ +/* + * Async Treeview 0.1 - Lazy-loading extension for Treeview + * + * http://bassistance.de/jquery-plugins/jquery-plugin-treeview/ + * + * Copyright 2010 Jörn Zaefferer + * Released under the MIT license: + * http://www.opensource.org/licenses/mit-license.php + */ + +;(function($) { + +function load(settings, root, child, container) { + function createNode(parent) { + var current = $("
  • ").attr("id", this.id || "").html("" + this.text + "").appendTo(parent); + if (this.classes) { + current.children("span").addClass(this.classes); + } + if (this.expanded) { + current.addClass("open"); + } + if (this.hasChildren || this.children && this.children.length) { + var branch = $("