nextcloud/apps/files/js
Daniel Calviño Sánchez acdf895c2d Fix total upload size overwritten by next upload
The upload progress is based on the "totalToUpload" variable. However,
as the variable is set when an upload is submitted, if another upload is
submitted before the previous one finished the upload progress only took
into account the size of the new upload (although the upload itself
worked fine; the files of the new submitted upload are added to the
active one). Now "totalToUpload" is either increased or set depending on
whether an upload is active or not.

Note that although "data.total" holds the total size of the files being
uploaded "totalToUpload" needs to be used in "fileuploadprogressall"
instead; "totalToUpload" is calculated when the upload is submitted, but
since 7c4c5fe6ae the actual upload of the files, and thus updating the
value of "data.total", may be deferred until the parent folders were
created.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-12-28 10:24:12 +00:00
..
dist Build source maps on production build again 2020-07-14 13:47:20 +00:00
templates
app.js Remove deprecated legacy file actions 2019-10-14 19:19:16 +02:00
breadcrumb.js Show Delete Icon in Breadcrumb in Trashbin 2019-10-07 19:35:23 +08:00
detailfileinfoview.js
detailsview.js
detailtabview.js
favoritesfilelist.js
favoritesplugin.js
file-upload.js Fix total upload size overwritten by next upload 2020-12-28 10:24:12 +00:00
fileactions.js Allow opening files for editing in new tabs 2020-04-09 16:41:09 +02:00
fileactionsmenu.js refactor: fileActions.getCurrentDefaultFileAction() 2020-04-08 18:19:58 +02:00
fileinfomodel.js
filelist.js Check for target folder available quota when uploading 2020-11-17 13:55:21 +01:00
filemultiselectmenu.js Do not rerender the selection menu on show 2020-01-08 16:09:53 +01:00
files.js add mount point to quota warning message 2020-11-12 14:39:12 +01:00
filesummary.js fix summary elements alignment 2019-11-26 18:52:56 +01:00
gotoplugin.js
jquery-visibility.js
jquery.fileupload.js
keyboardshortcuts.js
mainfileinfodetailview.js
merged-index.json Fix files app LoadSidebar event 2019-12-04 08:07:42 +00:00
navigation.js
newfilemenu.js
operationprogressbar.js update tooltip content dynamically 2019-10-23 17:25:27 +02:00
recentfilelist.js
recentplugin.js
search.js lower minimum search length to 2 characters 2020-07-09 20:28:50 +00:00
semaphore.js
sidebarpreviewmanager.js
sidebarpreviewtext.js
tagsplugin.js Allow to unfavorite all files 2019-12-05 09:39:32 +01:00
templates.js Compile templates 2020-01-21 16:26:05 +01:00
upload.js