Mercurial > hg > orthanc
comparison OrthancServer/OrthancExplorer/libs/jquery-file-upload/js/jquery.fileupload.js @ 4959:29bcc3f47f2a
typos
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 23 Mar 2022 12:19:59 +0100 |
parents | d25f4c0fa160 |
children |
comparison
equal
deleted
inserted
replaced
4958:924b15d983c7 | 4959:29bcc3f47f2a |
---|---|
276 }, | 276 }, |
277 | 277 |
278 _initProgressListener: function (options) { | 278 _initProgressListener: function (options) { |
279 var that = this, | 279 var that = this, |
280 xhr = options.xhr ? options.xhr() : $.ajaxSettings.xhr(); | 280 xhr = options.xhr ? options.xhr() : $.ajaxSettings.xhr(); |
281 // Accesss to the native XHR object is required to add event listeners | 281 // Access to the native XHR object is required to add event listeners |
282 // for the upload progress event: | 282 // for the upload progress event: |
283 if (xhr.upload) { | 283 if (xhr.upload) { |
284 $(xhr.upload).bind('progress', function (e) { | 284 $(xhr.upload).bind('progress', function (e) { |
285 var oe = e.originalEvent; | 285 var oe = e.originalEvent; |
286 // Make sure the progress event properties get copied over: | 286 // Make sure the progress event properties get copied over: |