Skip to content

Commit

Permalink
refs #18702, event 'position' deprecation warning in dojo/request/xhr…
Browse files Browse the repository at this point in the history
… progress
  • Loading branch information
gavinr authored and dylans committed Sep 11, 2015
1 parent 1209d79 commit d400e28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion request/xhr.js
Expand Up @@ -115,7 +115,7 @@ define([
response.total = evt.total;
dfd.progress(response);
} else if(response.xhr.readyState === 3){
response.loaded = evt.position;
response.loaded = ('loaded' in evt) ? evt.loaded : evt.position;
dfd.progress(response);
}
}
Expand Down

0 comments on commit d400e28

Please sign in to comment.