summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-08-27 11:10:00 +0200
committerGitHub <noreply@github.com>2016-08-27 11:10:00 +0200
commitc40df1d9904be51db00bdcf8bc9b3f85511fb24c (patch)
tree10ea793fac36d398eefebeb034db8b09a91b19c1
parent56367d19aca0070f508ada5141dbcd3199278693 (diff)
parentd7f0a970aeba2bd98a898d5b0b5ccad2bcf5b8cd (diff)
downloadnextcloud-server-c40df1d9904be51db00bdcf8bc9b3f85511fb24c.tar.gz
nextcloud-server-c40df1d9904be51db00bdcf8bc9b3f85511fb24c.zip
Merge pull request #1091 from nextcloud/theming-title-preview
Theming: Preview instance name in page title
-rw-r--r--apps/theming/js/settings-admin.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/theming/js/settings-admin.js b/apps/theming/js/settings-admin.js
index 77777d2dde9..0de3b28bab0 100644
--- a/apps/theming/js/settings-admin.js
+++ b/apps/theming/js/settings-admin.js
@@ -111,6 +111,9 @@ function preview(setting, value) {
}
}
+ if (setting === 'name') {
+ window.document.title = t('core', 'Admin') + " - " + value;
+ }
hideUndoButton(setting, value);
}