Skip to content

Commit 16022a3

Browse files
committed
jquery-form#233, xhr upload method
1 parent c1fdefd commit 16022a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jquery.form.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* jQuery Form Plugin
3-
* version: 3.16 (25-SEP-2012)
3+
* version: 3.17 (25-SEP-2012)
44
* @requires jQuery v1.3.2 or later
55
*
66
* Examples and documentation at: http://malsup.com/jquery/form/
@@ -244,7 +244,7 @@ $.fn.ajaxSubmit = function(options) {
244244
contentType: false,
245245
processData: false,
246246
cache: false,
247-
type: 'POST'
247+
type: method || 'POST'
248248
});
249249

250250
if (options.uploadProgress) {

0 commit comments

Comments
 (0)