From 1aaef6fde7dc8b303a4265fefb7f2ae873ec7db1 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Thu, 6 Aug 2015 00:18:53 +0200 Subject: [PATCH] files and sharing will require backbonejs --- apps/files/index.php | 1 + lib/private/share/share.php | 1 + 2 files changed, 2 insertions(+) diff --git a/apps/files/index.php b/apps/files/index.php index 4f103f975c..c3d74acc7e 100644 --- a/apps/files/index.php +++ b/apps/files/index.php @@ -51,6 +51,7 @@ OCP\Util::addscript('files', 'search'); \OCP\Util::addScript('files', 'favoritesplugin'); \OC_Util::addVendorScript('core', 'handlebars/handlebars'); +\OC_Util::addVendorScript('core', 'backbone/backbone'); OCP\App::setActiveNavigationEntry('files_index'); diff --git a/lib/private/share/share.php b/lib/private/share/share.php index 40fcc59f21..90d271b1d7 100644 --- a/lib/private/share/share.php +++ b/lib/private/share/share.php @@ -83,6 +83,7 @@ class Share extends Constants { ); if(count(self::$backendTypes) === 1) { \OC_Util::addScript('core', 'share'); + \OC_Util::addVendorScript('core', 'backbone/backbone'); \OC_Util::addStyle('core', 'share'); } return true;