#8045 closed bug (wontfix)
Jquery form broken on 1.5RC1
Reported by: | Owned by: | jaubourg | |
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | ajax | Version: | 1.5rc1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Testing Jquery Form using the 1.5 release candidate Jquery RC1 Get the following error on a SUBMIT Uncaught TypeError: Object function ( selector, context ) {
The jQuery object is actually just the init constructor 'enhanced' return new jQuery.fn.init( selector, context, rootjQuery );
} has no method 'handleError'
on jquery.form.js:387
catch(e){
log('error caught:',e); ok = false; xhr.error = e; $.handleError(s, xhr, 'error', e); Line 387
}
Not clear to me what the root cause of the problem is.
Change History (6)
comment:1 Changed 12 years ago by
Component: | unfiled → ajax |
---|---|
Owner: | set to jaubourg |
Priority: | undecided → blocker |
Status: | new → assigned |
comment:2 Changed 12 years ago by
jQuery.handleError was never documented and doesn't exist anymore in 1.5RC1.
comment:3 follow-up: 5 Changed 12 years ago by
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
I've looked deeper into the code and it seems the plugin implements an iframe transport the very very hard way.
It could easily feature-detect if jQuery.ajaxTransport is present and create the iframe transport the easier way in that case.
comment:4 Changed 12 years ago by
Priority: | blocker → low |
---|
The author has been notified of this issue. You can track progress on this here: https://github.com/malsup/form/issues#issue/56
comment:5 Changed 12 years ago by
Replying to jaubourg:
I've looked deeper into the code and it seems the plugin implements an iframe transport the very very hard way.
It could easily feature-detect if jQuery.ajaxTransport is present and create the iframe transport the easier way in that case.
I would be very interested in how exactly you'd implement an iframe transport the easy way. Do you have some corresponding sample code lying around by any chance?
Thanks.
I'm marking this a blocker, but it may very well be an issue that the plugin has to address.