Merge pull request #1091 from nextcloud/theming-title-preview

Theming: Preview instance name in page title
This commit is contained in:
Lukas Reschke 2016-08-27 11:10:00 +02:00 committed by GitHub
commit c40df1d990
1 changed files with 3 additions and 0 deletions

View File

@ -111,6 +111,9 @@ function preview(setting, value) {
}
}
if (setting === 'name') {
window.document.title = t('core', 'Admin') + " - " + value;
}
hideUndoButton(setting, value);
}