nextcloud/apps/files/js
Daniel Calviño Sánchez fc2069c1dd 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-23 18:53:01 +01:00
..
dist Bump core-js from 3.8.0 to 3.8.1 2020-12-15 07:54:33 +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 Make file actions work from sidebar 2015-08-12 17:30:20 +02:00
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-23 18:53:01 +01: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 09:43:44 +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:02:32 +02: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 update jquery-visibility in files app 2015-08-17 09:39:21 +02:00
jquery.fileupload.js Add callback to clean up after misbehaved drag and drop events 2018-06-08 19:15:27 +02:00
keyboardshortcuts.js Fixed many issues, clean up 2014-05-15 17:51:04 +02:00
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 Improved Javascript docs for JSDoc 2014-10-31 13:43:30 +01:00