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 11/*!
22 * jQuery Form Plugin
3- * version: 3.15 (09 -SEP-2012)
3+ * version: 3.16 (25 -SEP-2012)
44 * @requires jQuery v1.3.2 or later
55 *
66 * Examples and documentation at: http://malsup.com/jquery/form/
@@ -196,10 +196,10 @@ $.fn.ajaxSubmit = function(options) {
196196 }
197197 }
198198 else if ( ( hasFileInputs || multipart ) && fileAPI ) {
199- fileUploadXhr ( a ) ;
199+ options . jqxhr = fileUploadXhr ( a ) ;
200200 }
201201 else {
202- $ . ajax ( options ) ;
202+ options . jqxhr = $ . ajax ( options ) ;
203203 }
204204
205205 // clear element array
@@ -273,7 +273,7 @@ $.fn.ajaxSubmit = function(options) {
273273 if ( beforeSend )
274274 beforeSend . call ( this , xhr , o ) ;
275275 } ;
276- $ . ajax ( s ) ;
276+ return $ . ajax ( s ) ;
277277 }
278278
279279 // private function for handling file uploads (hat tip to YAHOO!)
You can’t perform that action at this time.
0 commit comments