summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-12-02 00:08:08 +0100
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-01-08 10:11:58 +0100
commitb664aad7abdca5327684b1218ac78fa172f8acb3 (patch)
tree0c1b04c2f8d3cf9b68d82e430f4754ff523a5f71 /lib/private/legacy
parent8ee7c20e4d634f85a9b481b4a829cc65e277bc69 (diff)
downloadnextcloud-server-b664aad7abdca5327684b1218ac78fa172f8acb3.tar.gz
nextcloud-server-b664aad7abdca5327684b1218ac78fa172f8acb3.zip
Move bundles to /dist
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'lib/private/legacy')
-rw-r--r--lib/private/legacy/OC_Template.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/private/legacy/OC_Template.php b/lib/private/legacy/OC_Template.php
index 9dfdb87e5ee..61fc82dacbb 100644
--- a/lib/private/legacy/OC_Template.php
+++ b/lib/private/legacy/OC_Template.php
@@ -106,7 +106,7 @@ class OC_Template extends \OC\Template\Base {
//meaning the last script/style in this list will be loaded first
if (\OC::$server->getSystemConfig()->getValue('installed', false) && $renderAs !== TemplateResponse::RENDER_AS_ERROR && !\OCP\Util::needUpgrade()) {
if (\OC::$server->getConfig()->getAppValue('core', 'backgroundjobs_mode', 'ajax') == 'ajax') {
- OC_Util::addScript('backgroundjobs', null, true);
+ OC_Util::addScript('core', 'backgroundjobs', true);
}
}
OC_Util::addStyle('css-variables', null, true);
@@ -114,11 +114,11 @@ class OC_Template extends \OC\Template\Base {
OC_Util::addTranslations('core', null, true);
if (\OC::$server->getSystemConfig()->getValue('installed', false) && !\OCP\Util::needUpgrade()) {
- OC_Util::addScript('merged-template-prepend', null, true);
- OC_Util::addScript('dist/files_client', null, true);
- OC_Util::addScript('dist/files_fileinfo', null, true);
+ OC_Util::addScript('core', 'merged-template-prepend', true);
+ OC_Util::addScript('core', 'files_client', true);
+ OC_Util::addScript('core', 'files_fileinfo', true);
}
- OC_Util::addScript('core', 'dist/main', true);
+ OC_Util::addScript('core', 'main', true);
self::$initTemplateEngineFirstRun = false;
}