* All applications: Set proper default page title if nothing is set

This commit is contained in:
Hadi Nategh 2017-02-01 16:23:08 +01:00
parent 226c9a862a
commit 385977e828

View File

@ -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();