Index: openacs-4/packages/xowiki/tcl/chat-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/chat-procs.tcl,v diff -u -r1.40 -r1.41 --- openacs-4/packages/xowiki/tcl/chat-procs.tcl 19 Nov 2018 16:35:12 -0000 1.40 +++ openacs-4/packages/xowiki/tcl/chat-procs.tcl 19 Nov 2018 18:19:12 -0000 1.41 @@ -387,10 +387,11 @@ set context id=$chat_id&s=$session_id set base_url ${path}ajax/chat?${context} - # This will point to chat/resources/chat.css for a chat instance - # and to /resources.chat.css for a plain xowiki - # chat - template::head::add_css -href ${path}resources/chat.css + # Get the css from resources folder in the right package depending + # on chat implementation (chat or xowiki package). Request + # processor will serve the proper themed css when available. + set package_key [apm_package_key_from_id $package_id] + template::head::add_css -href /resources/${package_key}/chat.css if {$mode eq ""} { #