nextcloud/apps/files/js
Daniel Calviño Sánchez d4b1ba7785 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:21:13 +00:00
..
dist Fix app sidebar mountpoint 2020-10-15 13:25:31 +00:00
templates Show sharing in menu in grid view 2019-03-21 08:14:16 +01:00
app.js Expose currently active file list though OCA.Files.App 2020-08-25 22:42:44 +02:00
breadcrumb.js Show Delete Icon in Breadcrumb in Trashbin 2019-10-07 19:35:23 +08:00
detailfileinfoview.js
detailsview.js Fix rendering of the sidebar in Files app 2018-11-22 05:58:25 +01:00
detailtabview.js Merge pull request #11647 from nextcloud/make-possible-for-tab-views-to-add-css-classes-to-their-container 2018-10-31 15:37:48 +01:00
favoritesfilelist.js Use DOMContentLoaded and fix sharebymail loading issue 2020-07-20 12:42:08 +02:00
favoritesplugin.js Fix jsdocs build on server repo 2018-10-24 15:41:08 +02:00
file-upload.js Fix total upload size overwritten by next upload 2020-12-28 10:21:13 +00:00
fileactions.js Clarify wording to 'Leave this share', fix #18622 2020-08-23 23:58:38 +02:00
fileactionsmenu.js refactor: fileActions.getCurrentDefaultFileAction() 2020-04-08 18:19:58 +02:00
fileinfomodel.js added quit option in commentstabview.js 2017-03-23 13:12:29 -06:00
filelist.js Check for target folder available quota when uploading 2020-11-17 15:33:54 +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-10-04 11:05:24 +00:00
filesummary.js fix summary elements alignment 2019-11-26 18:52:56 +01:00
gotoplugin.js Fix closing details view when viewing file in folder 2017-04-25 17:45:42 +02:00
jquery-visibility.js
jquery.fileupload.js Add callback to clean up after misbehaved drag and drop events 2018-06-08 19:15:27 +02:00
keyboardshortcuts.js
mainfileinfodetailview.js Fallback to directory icon based on the mount type 2019-09-15 19:29:57 +02:00
merged-index.json Remove outdated legacy search scripts 2020-08-04 20:56:22 +02:00
navigation.js Add drop zone for favorites quick access in navigation 2019-02-01 01:45:03 +01:00
newfilemenu.js HBOX-297 trim in webfrontend for new files to stay compatible with windows 2019-02-01 09:47:07 +00:00
operationprogressbar.js update tooltip content dynamically 2019-10-23 17:25:27 +02:00
recentfilelist.js Use DOMContentLoaded and fix sharebymail loading issue 2020-07-20 12:42:08 +02:00
recentplugin.js Fix jsdocs build on server repo 2018-10-24 15:41:08 +02:00
semaphore.js Fix public upload by also load the semaphore method 2019-05-07 23:48:06 +02:00
sidebarpreviewmanager.js Always show full previews 2019-03-27 13:29:58 +01:00
sidebarpreviewtext.js Do not fetch the whole text file for the sidebar preview 2017-08-03 20:32:59 +02:00
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