Gets the page title from oc_defaults in Files app

This commit is contained in:
Guillaume AMAT 2014-02-13 10:48:01 +01:00
parent 01dee35ebe
commit 01dc7c5482

View file

@ -23,7 +23,7 @@ window.FileList={
*/
setPageTitle: function(title){
// Sets the page title with the " - ownCloud" suffix as in templates
window.document.title = title + ' - ownCloud';
window.document.title = title + ' - ' + oc_defaults.title;
return true;
},