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-02 02:08:08 +0300
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-01-08 12:11:58 +0300
commitb664aad7abdca5327684b1218ac78fa172f8acb3 (patch)
tree0c1b04c2f8d3cf9b68d82e430f4754ff523a5f71 /apps/files/lib
parent8ee7c20e4d634f85a9b481b4a829cc65e277bc69 (diff)
Move bundles to /dist
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/lib')
-rw-r--r--apps/files/lib/Controller/ViewController.php4
-rw-r--r--apps/files/lib/Listener/LoadSidebarListener.php2
2 files changed, 4 insertions, 2 deletions
diff --git a/apps/files/lib/Controller/ViewController.php b/apps/files/lib/Controller/ViewController.php
index 06a6253adef..bba8660399c 100644
--- a/apps/files/lib/Controller/ViewController.php
+++ b/apps/files/lib/Controller/ViewController.php
@@ -197,7 +197,9 @@ class ViewController extends Controller {
// Load the files we need
\OCP\Util::addStyle('files', 'merged');
\OCP\Util::addScript('files', 'merged-index');
- \OCP\Util::addScript('files', 'dist/main');
+ \OCP\Util::addScript('files', 'templates');
+ \OCP\Util::addScript('files', 'files-app-settings');
+ \OCP\Util::addScript('files', 'legacy-filelist-search');
// mostly for the home storage's free space
// FIXME: Make non static
diff --git a/apps/files/lib/Listener/LoadSidebarListener.php b/apps/files/lib/Listener/LoadSidebarListener.php
index aa24538c2ee..15f24279e0a 100644
--- a/apps/files/lib/Listener/LoadSidebarListener.php
+++ b/apps/files/lib/Listener/LoadSidebarListener.php
@@ -37,7 +37,7 @@ class LoadSidebarListener implements IEventListener {
return;
}
- Util::addScript(Application::APP_ID, 'dist/sidebar');
+ Util::addScript(Application::APP_ID, 'sidebar');
// needed by the Sidebar legacy tabs
// TODO: remove when all tabs migrated to the new api
Util::addScript('files', 'fileinfomodel');