Index: openacs-4/packages/bookmarks/www/top-frame.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/bookmarks/www/top-frame.tcl,v
diff -u -r1.3 -r1.3.8.1
--- openacs-4/packages/bookmarks/www/top-frame.tcl 18 Sep 2002 14:54:57 -0000 1.3
+++ openacs-4/packages/bookmarks/www/top-frame.tcl 21 Jun 2004 06:19:56 -0000 1.3.8.1
@@ -39,6 +39,8 @@
"
-
-
-
-
-
-
-
-
-
-
-
-
-
Index: openacs-4/packages/bookmarks/www/tree-static.js
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/bookmarks/www/tree-static.js,v
diff -u -r1.1.1.1.10.1 -r1.1.1.1.10.2
--- openacs-4/packages/bookmarks/www/tree-static.js 12 Jun 2004 07:24:22 -0000 1.1.1.1.10.1
+++ openacs-4/packages/bookmarks/www/tree-static.js 21 Jun 2004 06:19:56 -0000 1.1.1.1.10.2
@@ -5,6 +5,20 @@
// Date: 11-12-2002 (mm-dd-yyyy)
// Notes: This script is free. Visit official site for further details.
+function expand_all () {
+ for (var i = 1; i < trees[0].a_index.length; i++) {
+ var o_item = trees[0].a_index[i];
+ if (!o_item.b_opened) o_item.open(o_item.b_opened);
+ }
+}
+
+function collapse_all () {
+ for (var i = 1; i < trees[0].a_index.length; i++) {
+ var o_item = trees[0].a_index[i];
+ if (o_item.b_opened) o_item.open(o_item.b_opened);
+ }
+}
+
function tree (a_items, a_template) {
this.a_tpl = a_template;