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 Show sharing in menu in grid view 2019-03-21 08:14:16 +01:00
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 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 Remove event handler no longer needed 2018-10-21 20:21:59 +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: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 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 Fix files app LoadSidebar event 2019-12-04 08:07:42 +00: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
recentplugin.js Fix jsdocs build on server repo 2018-10-24 15:41:08 +02:00
search.js lower minimum search length to 2 characters 2020-07-09 20:28:50 +00: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