Index: branches/RC/core/admin_templates/tree.tpl =================================================================== diff -u -N -r11232 -r11623 --- branches/RC/core/admin_templates/tree.tpl (.../tree.tpl) (revision 11232) +++ branches/RC/core/admin_templates/tree.tpl (.../tree.tpl) (revision 11623) @@ -3,72 +3,36 @@ - - + + + var $last_width = null; - - - - + - - - - - + +
-  In-Portal v - - -
@@ -80,8 +44,8 @@ - - + +
- - \ No newline at end of file + + function ReloadFolder(url, with_late_load) + { + if (!with_late_load) with_late_load = false; + var fld = the_tree.locateItemByURL(url, with_late_load); + if (fld) { + fld.reload(); + } + } + + function ShowStructure($url, $visible) + { + var fld = the_tree.locateItemByURL($url, true); + if (fld) { + if ($visible) { + fld.expand(); + } + else { + fld.collapse(); + } + + } + } + + function SyncActive(url) { + var fld = the_tree.locateItemByURL(url); + if (fld) { + fld.highLight(); + } + } + + + \ No newline at end of file