File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
/*!
2
2
* jQuery Form Plugin
3
- * version: 3.15 (09 -SEP-2012)
3
+ * version: 3.16 (25 -SEP-2012)
4
4
* @requires jQuery v1.3.2 or later
5
5
*
6
6
* Examples and documentation at: http://malsup.com/jquery/form/
@@ -196,10 +196,10 @@ $.fn.ajaxSubmit = function(options) {
196
196
}
197
197
}
198
198
else if ( ( hasFileInputs || multipart ) && fileAPI ) {
199
- fileUploadXhr ( a ) ;
199
+ options . jqxhr = fileUploadXhr ( a ) ;
200
200
}
201
201
else {
202
- $ . ajax ( options ) ;
202
+ options . jqxhr = $ . ajax ( options ) ;
203
203
}
204
204
205
205
// clear element array
@@ -273,7 +273,7 @@ $.fn.ajaxSubmit = function(options) {
273
273
if ( beforeSend )
274
274
beforeSend . call ( this , xhr , o ) ;
275
275
} ;
276
- $ . ajax ( s ) ;
276
+ return $ . ajax ( s ) ;
277
277
}
278
278
279
279
// private function for handling file uploads (hat tip to YAHOO!)
You can’t perform that action at this time.
0 commit comments