]> source.dussan.org Git - nextcloud-server.git/commitdiff
Theming: Preview for page title 1091/head
authorJulius Haertl <jus@bitgrid.net>
Fri, 26 Aug 2016 16:21:05 +0000 (18:21 +0200)
committerJulius Haertl <jus@bitgrid.net>
Fri, 26 Aug 2016 16:21:05 +0000 (18:21 +0200)
apps/theming/js/settings-admin.js

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