Binding of 'submit' events appears to be broken in 1.4 if data is not supplied.
Sorry, in a bit of a rush, so here's the patch:
Index: src/event.js
===================================================================
--- src/event.js (revision 6617)
+++ src/event.js (working copy)
@@ -542,7 +542,7 @@
special.submit = {
setup: function(data, namespaces) {
- if(data.selector) {
+ if(data && data.selector) {
event.add(this, 'click.specialSubmit',
function(e, eventData) {
if(jQuery(e.target).filter(":submit,
:image").closest(data.selector).length) {
e.type = "submit";
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---