]> source.dussan.org Git - nextcloud-server.git/commit
Fix file summary to use the whole file list
authorVincent Petry <pvince81@owncloud.com>
Tue, 11 Feb 2014 15:52:56 +0000 (16:52 +0100)
committerVincent Petry <pvince81@owncloud.com>
Mon, 28 Apr 2014 12:49:39 +0000 (14:49 +0200)
commit9f62059efa869ff677130f06bf1b46be49950515
tree260c955913a6a8746645d816feffc933b436b343
parentefdf0c4df0012fe03fb3de136ff596af1bb38677
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
12 files changed:
apps/files/index.php
apps/files/js/filelist.js
apps/files/js/filesummary.js [new file with mode: 0644]
apps/files/templates/index.php
apps/files/tests/js/filelistSpec.js
apps/files/tests/js/filesummarySpec.js [new file with mode: 0644]
apps/files_sharing/public.php
apps/files_trashbin/index.php
apps/files_trashbin/js/trash.js
apps/files_trashbin/templates/index.php
core/js/js.js
core/js/tests/specs/coreSpec.js