From 5a0ac24e35c07fe4be22df828e6b909fe65237b9 Mon Sep 17 00:00:00 2001 From: jeresig Date: Mon, 11 Jan 2010 12:26:28 -0500 Subject: [PATCH] Make sure that submit event is still bound for regular form submit events. Thanks to Mark Gibson for the fix suggestion. --- src/event.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/event.js b/src/event.js index 9abf83878..6871327d1 100644 --- a/src/event.js +++ b/src/event.js @@ -604,6 +604,9 @@ jQuery.event.special.submit = { return trigger( "submit", this, arguments ); } }); + + } else { + return false; } }, -- 2.39.5