Side navigation
#3052 closed bug (fixed)
Opened June 16, 2008 08:28PM UTC
Closed June 17, 2008 09:04PM UTC
Last modified October 14, 2008 10:50AM UTC
jquery.form.js does break on file upload
Reported by: | fil | Owned by: | flesler |
---|---|---|---|
Priority: | major | Milestone: | 1.3 |
Component: | plugin | Version: | 1.2.6 |
Keywords: | form | Cc: | |
Blocked by: | Blocking: |
Description
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, {});
hth
(Maybe related to #2952)
Attachments (0)
Change History (4)
Changed June 17, 2008 07:08PM UTC by comment:1
keywords: | → form |
---|---|
owner: | → malsup |
Changed June 17, 2008 07:49PM UTC by comment:2
As Renato found out it is the changeset [5714] that breaks file uploads in jquery.form.js
Changed June 17, 2008 09:04PM UTC by comment:3
owner: | malsup → flesler |
---|---|
status: | new → assigned |
Changed June 17, 2008 09:04PM UTC by comment:4
resolution: | → fixed |
---|---|
status: | assigned → closed |
Fixed on [5732].