Binding of 'submit' event broken in 1.4

Binding of 'submit' event broken in 1.4


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";