From a4e6ed10f6396d2ea8dd6dfd8f8bc0a05f484ade Mon Sep 17 00:00:00 2001 From: alecpl Date: Mon, 5 May 2008 18:21:25 +0000 Subject: - fixed setting pagetitle in ajax calls --- program/include/rcube_json_output.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'program') diff --git a/program/include/rcube_json_output.php b/program/include/rcube_json_output.php index 19a454321..a633f8555 100644 --- a/program/include/rcube_json_output.php +++ b/program/include/rcube_json_output.php @@ -64,7 +64,8 @@ class rcube_json_output */ public function set_pagetitle($title) { - // ignore + $name = $this->config->get('product_name'); + $this->command('set_pagetitle', JQ(empty($name) ? $title : $name.' :: '.$title)); } /** @@ -232,7 +233,7 @@ class rcube_json_output implode(',', $args) ); } - + return $out; } } -- cgit v1.2.3