diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-05-05 18:21:25 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-05-05 18:21:25 +0000 |
| commit | 0f93a683ed92b9c08fb3bb50005c846c3234a122 (patch) | |
| tree | e51f77b66d669f1885469bae035f5cfd15ef2dc1 /roundcubemail/program/include/rcube_json_output.php | |
| parent | bea4bdad406b1c8375cc8e4359eaa7fdd61faca5 (diff) | |
- fixed setting pagetitle in ajax calls
git-svn-id: https://svn.roundcube.net/trunk@1358 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_json_output.php')
| -rw-r--r-- | roundcubemail/program/include/rcube_json_output.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/roundcubemail/program/include/rcube_json_output.php b/roundcubemail/program/include/rcube_json_output.php index 19a454321..a633f8555 100644 --- a/roundcubemail/program/include/rcube_json_output.php +++ b/roundcubemail/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; } } |
