Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Haertl <jus@bitgrid.net>2016-08-26 19:21:05 +0300
committerJulius Haertl <jus@bitgrid.net>2016-08-26 19:21:05 +0300
commitd7f0a970aeba2bd98a898d5b0b5ccad2bcf5b8cd (patch)
tree185898f80e5f031da9e0b20d80ec47e68883d048 /apps/theming/js
parent89c78bbce48ccd75e42245bf1d92910c50e2648f (diff)
Theming: Preview for page title
Diffstat (limited to 'apps/theming/js')
-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);
}