summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2015-07-31 00:07:41 +0200
committerVincent Petry <pvince81@owncloud.com>2015-09-16 07:23:25 +0200
commitedd163a6113664921a2fda730037dcf68bfe08ae (patch)
tree2e5b7b0911e121c5e2b019259d3a0247c31ee1c9 /lib
parent2fc19635f6a98c0acbd223b3f9d0028ff2755585 (diff)
downloadnextcloud-server-edd163a6113664921a2fda730037dcf68bfe08ae.tar.gz
nextcloud-server-edd163a6113664921a2fda730037dcf68bfe08ae.zip
refactor share dialog for multi-purpose use (dropdown, sidebar) and better maintainability
Diffstat (limited to 'lib')
-rw-r--r--lib/private/share/share.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/share/share.php b/lib/private/share/share.php
index 6ad36d60fe8..65968f581f5 100644
--- a/lib/private/share/share.php
+++ b/lib/private/share/share.php
@@ -83,6 +83,8 @@ class Share extends Constants {
'supportedFileExtensions' => $supportedFileExtensions
);
if(count(self::$backendTypes) === 1) {
+ \OC_Util::addScript('core', 'shareitemmodel');
+ \OC_Util::addScript('core', 'sharedialogview');
\OC_Util::addScript('core', 'share');
\OC_Util::addStyle('core', 'share');
}