From 385977e828b3182bd68b56413a9b12a0f1c493d4 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 1 Feb 2017 16:23:08 +0100 Subject: [PATCH] * All applications: Set proper default page title if nothing is set --- api/js/framework/fw_base.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/js/framework/fw_base.js b/api/js/framework/fw_base.js index 53031ed2c8..ddd14e0650 100644 --- a/api/js/framework/fw_base.js +++ b/api/js/framework/fw_base.js @@ -892,7 +892,8 @@ var fw_base = (function(){ "use strict"; return Class.extend( } this.tabsUi.setAppHeader(this.activeApp.app_header); - document.title = this.activeApp.website_title; + var default_title = egw.config('site_title', 'phpgwapi') + ' ['+this.activeApp.displayName+']'; + document.title = this.activeApp.website_title || default_title; } this.resizeHandler();