mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 23:29:31 +01:00
Add a fallback site title to avoid showing undefined as title
This commit is contained in:
parent
ae8913b1ff
commit
98f4abc0db
@ -892,7 +892,8 @@ var fw_base = (function(){ "use strict"; return Class.extend(
|
||||
}
|
||||
|
||||
this.tabsUi.setAppHeader(this.activeApp.app_header);
|
||||
var default_title = egw.config('site_title', 'phpgwapi') + ' ['+this.activeApp.displayName+']';
|
||||
var default_title = (egw.config('site_title', 'phpgwapi') ? egw.config('site_title', 'phpgwapi') : "EGroupware")
|
||||
+ ' ['+this.activeApp.displayName+']';;
|
||||
document.title = this.activeApp.website_title || default_title;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user