Fix WebDAV progress updates for Zotero.HTTP.download()

This commit is contained in:
Dan Stillman 2025-03-18 13:37:23 -04:00 • committed by Dan Stillman
parent 087df1f0c1
commit d92ddd18b7

View file

@ -347,8 +347,8 @@ Zotero.Sync.Storage.Mode.WebDAV.prototype = {
successCodes: [200, 404],
noCache: true,
notificationCallbacks: {
onProgress: function (a, b, c) {
request.onProgress(a, b, c)
onProgress: function (req, progress, progressMax) {
request.onProgress(progress, progressMax)
},
},
errorDelayIntervals: this.ERROR_DELAY_INTERVALS,