Skip to content

Commit 9e99be4

Browse files
committed
1 parent 5904d38 commit 9e99be4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

jquery.form.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* jQuery Form Plugin
3-
* version: 3.09 (16-APR-2012)
3+
* version: 3.10 (20-JUL-2012)
44
* @requires jQuery v1.3.2 or later
55
*
66
* Examples and documentation at: http://malsup.com/jquery/form/
@@ -253,11 +253,11 @@ $.fn.ajaxSubmit = function(options) {
253253
}
254254

255255
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);
256+
var beforeSend = s.beforeSend;
257+
s.beforeSend = function(xhr, o) {
258+
o.data = formdata;
259+
if(beforeSend)
260+
beforeSend.call(this, xhr, o);
261261
};
262262
$.ajax(s);
263263
}

0 commit comments

Comments
 (0)