server/apps/files
Bekcpear 82e263ed04 Fix upload remaining time
The upload remaining time is always 'a few second' whatever a big or a
small file uploading.
This commit fixes it. The `new Date().getMilliseconds()` only return a
three digits number. When time arrived the next second, the millisecond
start from ZERO again. So `new Date().getTime()` is the righe choice.
And remaining time variables shoule be initialized when the file starts
uploading, otherwise the remaining time of a new upload will always be
'Infinity years' until you refresh the page.

Signed-off-by: Yaojin Qian <i@ume.ink>
2017-06-16 15:33:10 +08:00
..
ajax share api expanded by tags (#26583) 2017-04-11 11:54:13 -05:00
appinfo Split multi-author entries 2017-05-22 10:39:49 +02:00
css Increase width of clickable area in file row to open file/folder 2017-05-16 21:04:43 +02:00
img remove unused parameters and add viewBox 2017-01-02 15:32:16 +01:00
js Fix upload remaining time 2017-06-16 15:33:10 +08:00
l10n [tx-robot] updated from transifex 2017-05-30 00:08:44 +00:00
lib Fix username and avatar for external users 2017-05-19 15:45:14 +02:00
templates Wording detail fix for favorite emptycontent view 2017-04-21 14:11:49 +02:00
tests Do not reload the filelist on first open 2017-05-04 13:29:49 +02:00
download.php Update with robin 2016-07-21 18:13:58 +02:00
list.php Remove upload_limit in files app as it is not needed with PUT upload (#26069) 2016-11-02 20:43:35 +01:00
recentlist.php Add recent file listing 2016-07-22 15:20:51 +02:00
simplelist.php Fix apps/ 2016-07-21 18:13:57 +02:00