files and sharing will require backbonejs

This commit is contained in:
Arthur Schiwon 2015-08-06 00:18:53 +02:00
parent dc04afbe29
commit 1aaef6fde7
2 changed files with 2 additions and 0 deletions

View File

@ -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');

View File

@ -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;