Index: openacs-4/packages/forums/lib/message/row2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/lib/message/row2.tcl,v diff -u -r1.5 -r1.6 --- openacs-4/packages/forums/lib/message/row2.tcl 24 Jul 2018 18:54:44 -0000 1.5 +++ openacs-4/packages/forums/lib/message/row2.tcl 3 Sep 2024 15:37:38 -0000 1.6 @@ -85,6 +85,10 @@ set allow_edit_own_p [parameter::get -parameter AllowUsersToEditOwnPostsP -default 0] set own_p [expr {$message(user_id) eq $viewer_id && $allow_edit_own_p}] +set delete_url [export_vars -base "moderate/message-delete" { + {message_id:sign(csrf) $message(message_id)} +}] + template::add_event_listener -id "toggle$message(message_id)" -script [subst { dynamicExpand('$message(message_id)'); }]