Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
apply CB-5219 to WP7 also
  • Loading branch information
purplecabbage committed Jan 31, 2014
1 parent cf71c27 commit bb7abee6b1d487c3b43b37ced798a36644f40eb7
Showing 1 changed file with 3 additions and 1 deletion.
@@ -118,7 +118,9 @@ public void InjectScript()
changeReadyState: function(newState) {
this.readyState = newState;
if (this.onreadystatechange) {
this.onreadystatechange();
// mimic simple 'readystatechange' event which should be passed as per spec
var evt = {type: 'readystatechange', target: this, timeStamp: new Date().getTime()};
this.onreadystatechange(evt);
}
if (this.readyState == XHRShim.DONE){
this.onload && this.onload();

0 comments on commit bb7abee

Please sign in to comment.