Author: ddumont
Date: Wed Jul 25 01:24:34 2012
New Revision: 1365389
URL: http://svn.apache.org/viewvc?rev=1365389&view=rev
Log:
proxied-form-post: Fix for missing context on abort param.
Modified:
shindig/trunk/features/src/main/javascript/features/proxied-form-post/post.js
Modified:
shindig/trunk/features/src/main/javascript/features/proxied-form-post/post.js
URL:
http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/proxied-form-post/post.js?rev=1365389&r1=1365388&r2=1365389&view=diff
==============================================================================
---
shindig/trunk/features/src/main/javascript/features/proxied-form-post/post.js
(original)
+++
shindig/trunk/features/src/main/javascript/features/proxied-form-post/post.js
Wed Jul 25 01:24:34 2012
@@ -169,7 +169,7 @@
if (xhr.upload) {
xhr.upload.onprogress = function(event) {
- onprogress.call(null, event, xhr.abort);
+ onprogress.call(null, event, function(){ xhr.abort(); });
};
}
xhr.onreadystatechange = gadgets.util.makeClosure(