From 185be59862322a2a0034e0fad6de16bb21070de5 Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Tue, 5 Feb 2013 08:27:48 +0000 Subject: [PATCH] Use various page name for agent and user chat --- src/messenger/webim/client.php | 6 +++--- src/messenger/webim/operator/agent.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/messenger/webim/client.php b/src/messenger/webim/client.php index ca17820f..3c9d3b98 100644 --- a/src/messenger/webim/client.php +++ b/src/messenger/webim/client.php @@ -176,9 +176,9 @@ if( $pparam == "mailthread" ) { expand("styles/dialogs", getchatstyle(), "mail.tpl"); } else if( $level == "ajaxed" ) { // Load JavaScript plugins and JavaScripts, CSS files required by them - $page['additional_css'] = get_additional_css('chatWindow'); - $page['additional_js'] = get_additional_js('chatWindow'); - $page['js_plugin_options'] = get_js_plugin_options('chatWindow'); + $page['additional_css'] = get_additional_css('client_chat_window'); + $page['additional_js'] = get_additional_js('client_chat_window'); + $page['js_plugin_options'] = get_js_plugin_options('client_chat_window'); // Expand page expand("styles/dialogs", getchatstyle(), "chat.tpl"); } else if( $level == "old" ) { diff --git a/src/messenger/webim/operator/agent.php b/src/messenger/webim/operator/agent.php index ea15ed5f..4276934d 100644 --- a/src/messenger/webim/operator/agent.php +++ b/src/messenger/webim/operator/agent.php @@ -125,9 +125,9 @@ if ($pparam == "redirect") { expand("../styles/dialogs", getchatstyle(), "redirect.tpl"); } else { // Load JavaScript plugins and JavaScripts, CSS files required by them - $page['additional_css'] = get_additional_css('chatWindow'); - $page['additional_js'] = get_additional_js('chatWindow'); - $page['js_plugin_options'] = get_js_plugin_options('chatWindow'); + $page['additional_css'] = get_additional_css('agent_chat_window'); + $page['additional_js'] = get_additional_js('agent_chat_window'); + $page['js_plugin_options'] = get_js_plugin_options('agent_chat_window'); // Expand page expand("../styles/dialogs", getchatstyle(), "chat.tpl"); }