diff options
Diffstat (limited to 'apps/files_sharing/lib')
-rw-r--r-- | apps/files_sharing/lib/AppInfo/Application.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/AppInfo/Application.php b/apps/files_sharing/lib/AppInfo/Application.php index 1e1a2ca1c8b..3cb3d87cfb2 100644 --- a/apps/files_sharing/lib/AppInfo/Application.php +++ b/apps/files_sharing/lib/AppInfo/Application.php @@ -51,8 +51,10 @@ use OCP\EventDispatcher\IEventDispatcher; use OCP\Federation\ICloudIdManager; use OCP\IContainer; use OCP\Files\Config\IMountProviderCollection; +use OCP\IContainer; use OCP\IGroup; use OCP\IServerContainer; +use OCP\Util; use Symfony\Component\EventDispatcher\GenericEvent; class Application extends App { @@ -189,6 +191,11 @@ class Application extends App { $this->registerMountProviders($mountProviderCollection); $this->registerEventsScripts($dispatcher); $this->setupSharingMenus(); + + /** + * Always add main sharing script + */ + Util::addScript(self::APP_ID, 'dist/main'); } protected function registerMountProviders(IMountProviderCollection $mountProviderCollection) { |