dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eade062
)
Bind retry callback with correct this argument
author
Matthias Mullie
<git@mullie.eu>
Tue, 14 May 2019 17:15:09 +0000
(19:15 +0200)
committer
Matthias Mullie
<git@mullie.eu>
Tue, 14 May 2019 17:15:09 +0000
(19:15 +0200)
Change-Id: I5db9e4e967d5569d4f90590333a7af2ddab1641f
resources/src/mediawiki.api/upload.js
patch
|
blob
|
history
diff --git
a/resources/src/mediawiki.api/upload.js
b/resources/src/mediawiki.api/upload.js
index
de0688a
..
619dd7c
100644
(file)
--- a/
resources/src/mediawiki.api/upload.js
+++ b/
resources/src/mediawiki.api/upload.js
@@
-441,7
+441,7
@@
}
// If the call flat out failed, we may want to try again...
- retry = api.uploadChunk.bind(
this
, file, data, start, end, filekey, retries - 1 );
+ retry = api.uploadChunk.bind(
api
, file, data, start, end, filekey, retries - 1 );
return api.retry( code, result, retry );
},
function ( fraction ) {