diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-02-11 16:52:56 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-04-28 14:49:39 +0200 |
commit | 9f62059efa869ff677130f06bf1b46be49950515 (patch) | |
tree | 260c955913a6a8746645d816feffc933b436b343 /core/js/js.js | |
parent | efdf0c4df0012fe03fb3de136ff596af1bb38677 (diff) | |
download | nextcloud-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 'core/js/js.js')
-rw-r--r-- | core/js/js.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/js/js.js b/core/js/js.js index 0aa8d12b3d6..325be6cdc53 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -1253,6 +1253,9 @@ function relative_modified_date(timestamp) { * @todo Write documentation */ OC.Util = { + // TODO: remove original functions from global namespace + humanFileSize: humanFileSize, + formatDate: formatDate, /** * Returns whether the browser supports SVG * @return {boolean} true if the browser supports SVG, false otherwise |