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:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-12-03 17:12:18 +0300
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-01-08 12:14:53 +0300
commitdd7bf0f902570d4561c07237ea9072f4fc1d3edc (patch)
tree0116d397d454e95f1ebbd584230f16820c5ebd72 /apps/theming
parent806a176a57526b55c18817577325509dfb4ef648 (diff)
Fix dynamic loading
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/theming')
-rw-r--r--apps/theming/lib/Listener/BeforeTemplateRenderedListener.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/theming/lib/Listener/BeforeTemplateRenderedListener.php b/apps/theming/lib/Listener/BeforeTemplateRenderedListener.php
index 30ebcb89ac8..10a9434835c 100644
--- a/apps/theming/lib/Listener/BeforeTemplateRenderedListener.php
+++ b/apps/theming/lib/Listener/BeforeTemplateRenderedListener.php
@@ -77,6 +77,7 @@ class BeforeTemplateRenderedListener implements IEventListener {
]
);
- \OCP\Util::addScript('theming', 'theming');
+ // Making sure to inject just after core
+ \OCP\Util::addScript('theming', 'theming', 'core');
}
}