diff options
author | alecpl <alec@alec.pl> | 2008-05-05 18:21:25 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-05-05 18:21:25 +0000 |
commit | a4e6ed10f6396d2ea8dd6dfd8f8bc0a05f484ade (patch) | |
tree | bf11a0ac992ed6af345cb15c51a3402794958a51 /program/include | |
parent | 32ac953986e99d59cde010ee0c506609ad0a3444 (diff) |
- fixed setting pagetitle in ajax calls
Diffstat (limited to 'program/include')
-rw-r--r-- | program/include/rcube_json_output.php | 5 |
1 files changed, 3 insertions, 2 deletions
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; } } |