Index: openacs-4/packages/chat/tcl/chat-ajax-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/chat/tcl/chat-ajax-procs.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/packages/chat/tcl/chat-ajax-procs.tcl 24 Jun 2006 14:23:41 -0000 1.2 +++ openacs-4/packages/chat/tcl/chat-ajax-procs.tcl 26 Oct 2006 11:11:20 -0000 1.3 @@ -13,7 +13,9 @@ Chat instproc render {} { my orderby time set result "" - foreach child [my children] { + + foreach child [my children] { + set msg [$child msg] set user_id [$child user_id] set color [$child color] @@ -23,7 +25,7 @@ append result "

$timeshort" \ "$userlink:" \ "[my encode $msg]

\n" - } + } return $result } @@ -41,7 +43,8 @@ set path [site_node::get_url_from_object_id -object_id $package_id] set login_url ${path}ajax/chat?m=login&$context set send_url ${path}ajax/chat?m=add_msg&$context&msg= - set users_url ${path}ajax/chat?m=get_users&$context + + set users_url ${path}ajax/chat?m=get_users&$context return "\