Hello,

(sorry for posting to jquery-dev first)

I was trying file uploads with the current jquery.js and
jquery.form.js, and file upload in form.js fails (FF3/Mac); I located
the problem in function cb() where $.httpData is called with two
arguments only. A quick patch is to add a third argument {} in the
call on line 270, but I have no idea if it's the correct way to do it.

jquery.js:
 * $Rev: 5726 $

jquery.form.js
 * Revision: $Id: jquery.form.js 5718 2008-06-07 15:02:19Z malsup $

quick patch:
-                  data = $.httpData(xhr, opts.dataType);
+                 data = $.httpData(xhr, opts.dataType, {});


Ticket created @ http://dev.jquery.com/ticket/3052


-- Fil

Reply via email to