diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-12-03 15:12:18 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2022-01-08 10:14:53 +0100 |
commit | dd7bf0f902570d4561c07237ea9072f4fc1d3edc (patch) | |
tree | 0116d397d454e95f1ebbd584230f16820c5ebd72 /apps/theming | |
parent | 806a176a57526b55c18817577325509dfb4ef648 (diff) | |
download | nextcloud-server-dd7bf0f902570d4561c07237ea9072f4fc1d3edc.tar.gz nextcloud-server-dd7bf0f902570d4561c07237ea9072f4fc1d3edc.zip |
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.php | 3 |
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'); } } |