]> source.dussan.org Git - jquery.git/commitdiff
Make sure that submit event is still bound for regular form submit events. Thanks...
authorjeresig <jeresig@gmail.com>
Mon, 11 Jan 2010 17:26:28 +0000 (12:26 -0500)
committerjeresig <jeresig@gmail.com>
Mon, 11 Jan 2010 17:26:28 +0000 (12:26 -0500)
src/event.js

index 9abf8387834fd7d47f6b30cff8561f6029f00f6b..6871327d144955107a10923395177776216f4633 100644 (file)
@@ -604,6 +604,9 @@ jQuery.event.special.submit = {
                                        return trigger( "submit", this, arguments );
                                }
                        });
+
+               } else {
+                       return false;
                }
        },