diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-12-02 00:08:08 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2022-01-08 10:11:58 +0100 |
commit | b664aad7abdca5327684b1218ac78fa172f8acb3 (patch) | |
tree | 0c1b04c2f8d3cf9b68d82e430f4754ff523a5f71 /apps/files | |
parent | 8ee7c20e4d634f85a9b481b4a829cc65e277bc69 (diff) | |
download | nextcloud-server-b664aad7abdca5327684b1218ac78fa172f8acb3.tar.gz nextcloud-server-b664aad7abdca5327684b1218ac78fa172f8acb3.zip |
Move bundles to /dist
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/lib/Controller/ViewController.php | 4 | ||||
-rw-r--r-- | apps/files/lib/Listener/LoadSidebarListener.php | 2 | ||||
-rw-r--r-- | apps/files/src/main.js | 3 | ||||
-rw-r--r-- | apps/files/templates/settings-personal.php | 2 |
4 files changed, 5 insertions, 6 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'); diff --git a/apps/files/src/main.js b/apps/files/src/main.js deleted file mode 100644 index a979822bdc4..00000000000 --- a/apps/files/src/main.js +++ /dev/null @@ -1,3 +0,0 @@ -import './files-app-settings' -import './templates' -import './legacy/filelistSearch' diff --git a/apps/files/templates/settings-personal.php b/apps/files/templates/settings-personal.php index 1cddae3d33d..7aefb470cd6 100644 --- a/apps/files/templates/settings-personal.php +++ b/apps/files/templates/settings-personal.php @@ -22,7 +22,7 @@ */ -script(\OCA\Files\AppInfo\Application::APP_ID, 'dist/personal-settings'); +script(\OCA\Files\AppInfo\Application::APP_ID, 'personal-settings'); ?> <div id="files-personal-settings" class="section"> |