summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--program/include/rcube_json_output.php5
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;
}
}