Skip to content

Commit 73954b6

Browse files
committed
version bump
1 parent f53102f commit 73954b6

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

jquery.form.js

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* jQuery Form Plugin
3-
* version: 3.44.0-2013.09.15
3+
* version: 3.45.0-2013.10.17
44
* Requires jQuery v1.5 or later
55
* Copyright (c) 2013 M. Alsup
66
* Examples and documentation at: http://malsup.com/jquery/form/
@@ -312,17 +312,15 @@ $.fn.ajaxSubmit = function(options) {
312312
}
313313

314314
s.data = null;
315-
var beforeSend = s.beforeSend;
316-
s.beforeSend = function(xhr, o) {
317-
//Send FormData() provided by user
318-
if (options.formData)
319-
{
320-
o.data = options.formData;
321-
} else {
322-
o.data = formdata;
323-
}
324-
if(beforeSend)
325-
beforeSend.call(this, xhr, o);
315+
var beforeSend = s.beforeSend;
316+
s.beforeSend = function(xhr, o) {
317+
//Send FormData() provided by user
318+
if (options.formData)
319+
o.data = options.formData;
320+
else
321+
o.data = formdata;
322+
if(beforeSend)
323+
beforeSend.call(this, xhr, o);
326324
};
327325
return $.ajax(s);
328326
}

0 commit comments

Comments
 (0)