We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5904d38 commit 9e99be4Copy full SHA for 9e99be4
jquery.form.js
@@ -1,6 +1,6 @@
1
/*!
2
* jQuery Form Plugin
3
- * version: 3.09 (16-APR-2012)
+ * version: 3.10 (20-JUL-2012)
4
* @requires jQuery v1.3.2 or later
5
*
6
* Examples and documentation at: http://malsup.com/jquery/form/
@@ -253,11 +253,11 @@ $.fn.ajaxSubmit = function(options) {
253
}
254
255
s.data = null;
256
- var beforeSend = s.beforeSend;
257
- s.beforeSend = function(xhr, o) {
258
- o.data = formdata;
259
- if(beforeSend)
260
- beforeSend.call(o, xhr, options);
+ var beforeSend = s.beforeSend;
+ s.beforeSend = function(xhr, o) {
+ o.data = formdata;
+ if(beforeSend)
+ beforeSend.call(this, xhr, o);
261
};
262
$.ajax(s);
263
0 commit comments