files and sharing will require backbonejs
This commit is contained in:
parent
dc04afbe29
commit
1aaef6fde7
|
@ -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');
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue