/** * File: LeftAndMain.Tree.js */ (function($) { $.entwine('ss', function($){ $('.cms-tree').entwine({ Hints: null, onmatch: function() { this._super(); // Don't reapply (expensive) tree behaviour if already present if(!$.isNaN(this.data('jstree_instance_id'))) return; var hints = this.attr('data-hints'); if(hints) this.setHints($.parseJSON(hints)); /** * @todo Icon and page type hover support * @todo Sorting of sub nodes (originally placed in context menu) * @todo Refresh after language