Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated to not manually call form submit bindings in IE for jquery 1.…

…7 and greater, since jquery apparently fixed this in 1.7
  • Loading branch information...
commit 4fe37537cb2d8e71005303d3acb469e6205d26db 1 parent 8a57466
@JangoSteve JangoSteve authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/rails.js
View
2  src/rails.js
@@ -335,7 +335,7 @@
// If browser does not support submit bubbling, then this live-binding will be called before direct
// bindings. Therefore, we should directly call any direct bindings before remotely submitting form.
- if (!$.support.submitBubbles && rails.callFormSubmitBindings(form, e) === false) return rails.stopEverything(e);
+ if (!$.support.submitBubbles && $().jquery < '1.7' && rails.callFormSubmitBindings(form, e) === false) return rails.stopEverything(e);
rails.handleRemote(form);
return false;
Please sign in to comment.
Something went wrong with that request. Please try again.