summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/public.php
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-02-11 16:52:56 +0100
committerVincent Petry <pvince81@owncloud.com>2014-04-28 14:49:39 +0200
commit9f62059efa869ff677130f06bf1b46be49950515 (patch)
tree260c955913a6a8746645d816feffc933b436b343 /apps/files_sharing/public.php
parentefdf0c4df0012fe03fb3de136ff596af1bb38677 (diff)
downloadnextcloud-server-9f62059efa869ff677130f06bf1b46be49950515.tar.gz
nextcloud-server-9f62059efa869ff677130f06bf1b46be49950515.zip
Fix file summary to use the whole file list
- moved the summary code into a new class FileSummary - FileSummary is calculated only once, then updated with add/remove - added new OC.Util namespace for JS utility functions
Diffstat (limited to 'apps/files_sharing/public.php')
-rw-r--r--apps/files_sharing/public.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php
index ce51eca6ddb..3abcbf291ff 100644
--- a/apps/files_sharing/public.php
+++ b/apps/files_sharing/public.php
@@ -138,6 +138,7 @@ if (isset($path)) {
OCP\Util::addStyle('files', 'files');
OCP\Util::addStyle('files', 'upload');
+ OCP\Util::addScript('files', 'filesummary');
OCP\Util::addScript('files', 'breadcrumb');
OCP\Util::addScript('files', 'files');
OCP\Util::addScript('files', 'filelist');