Skip to content
Permalink
Browse files

Merge branch 'master' of http://github.com/petersendidit/jquery into …

…petersendidit-master
  • Loading branch information...
jeresig committed Oct 9, 2010
2 parents 4a0759d + 3bd737e commit 10065a8deb471c358c53e4852025b0ac8a9c5d32
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/event.js
@@ -706,6 +706,7 @@ if ( !jQuery.support.submitBubbles ) {
var elem = e.target, type = elem.type;

if ( (type === "submit" || type === "image") && jQuery( elem ).closest("form").length ) {
e.liveFired = undefined;
return trigger( "submit", this, arguments );
}
});
@@ -714,6 +715,7 @@ if ( !jQuery.support.submitBubbles ) {
var elem = e.target, type = elem.type;

if ( (type === "text" || type === "password") && jQuery( elem ).closest("form").length && e.keyCode === 13 ) {
e.liveFired = undefined;
return trigger( "submit", this, arguments );
}
});

0 comments on commit 10065a8

Please sign in to comment.
You can’t perform that action at this time.