summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-10-03 07:14:03 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-10-03 10:37:58 +0200
commita806e77cb611342c1b5ccd266c9efa79ab2974b0 (patch)
tree29caa98d9a356c40b9f5655d62b63d03a692e963 /templates
parentc966aa0d549de74a978a6d3398c157eb966d86cc (diff)
Implement our own initialStateService for 15
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/main.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/main.php b/templates/main.php
index 9fa58fc6..365cf629 100644
--- a/templates/main.php
+++ b/templates/main.php
@@ -2,8 +2,11 @@
if (!\OCP\Util::isIe()) {
script('contacts', 'contacts');
style('contacts', 'contacts');
-} else {
?>
+
+<input type="hidden" id="initial-state-contacts-locales" value="<?php p(base64_encode($_['locales'])); ?>">
+
+<?php } else { ?>
<div id="app-content">
<div class="emptycontent">
<div class="icon-contacts-dark"></div>