Index: openacs-4/packages/cms/www/modules/sitemap/refresh-tree.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/cms/www/modules/sitemap/refresh-tree.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/cms/www/modules/sitemap/refresh-tree.tcl 20 Apr 2001 20:51:10 -0000 1.1 +++ openacs-4/packages/cms/www/modules/sitemap/refresh-tree.tcl 16 Nov 2004 22:32:50 -0000 1.2 @@ -1,16 +1,16 @@ # Refresh the tree to show any new folders request create -request set_param id -datatype keyword -optional +request set_param item_id -datatype keyword -optional request set_param mount_point -datatype keyword -optional -value sitemap request set_param goto_id -datatype keyword -optional -set user_id [User::getID] +set user_id [auth::require_login] # Change the update time on the folder refreshCachedFolder $user_id sitemap $id if { [template::util::is_nil goto_id] } { - set goto_id $id + set goto_id $item_id } else { refreshCachedFolder $user_id $mount_point $goto_id }