diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-09-25 09:52:12 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-09-25 09:52:12 +0200 |
commit | db39fede97dc4d6b9a5caf739cb2c03b4dbdd21d (patch) | |
tree | 0d8c9f25deb067ce23e901c72f2af842e9002341 /apps/files_sharing/public.php | |
parent | 843f15f3489856b518a30de4c803740844232209 (diff) | |
parent | 2d12e52769a30ba37d5760b1194f613bcc71035b (diff) | |
download | nextcloud-server-db39fede97dc4d6b9a5caf739cb2c03b4dbdd21d.tar.gz nextcloud-server-db39fede97dc4d6b9a5caf739cb2c03b4dbdd21d.zip |
Merge branch 'master' into appframework-master
Conflicts:
apps/files/lib/helper.php
apps/files_trashbin/lib/helper.php
Diffstat (limited to 'apps/files_sharing/public.php')
-rw-r--r-- | apps/files_sharing/public.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php index 8d474e87b48..eff38dcc0fd 100644 --- a/apps/files_sharing/public.php +++ b/apps/files_sharing/public.php @@ -22,7 +22,7 @@ function fileCmp($a, $b) { function determineIcon($file, $sharingRoot, $sharingToken) { // for folders we simply reuse the files logic if($file['type'] == 'dir') { - return \OCA\files\lib\Helper::determineIcon($file); + return \OCA\Files\Helper::determineIcon($file); } $relativePath = substr($file['path'], 6); @@ -170,6 +170,7 @@ if (isset($path)) { $tmpl->assign('dir', $getPath); OCP\Util::addStyle('files', 'files'); + OCP\Util::addStyle('files', 'upload'); OCP\Util::addScript('files', 'files'); OCP\Util::addScript('files', 'filelist'); OCP\Util::addscript('files', 'keyboardshortcuts'); |