We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a57466 commit 4fe3753Copy full SHA for 4fe3753
src/rails.js
@@ -335,7 +335,7 @@
335
336
// If browser does not support submit bubbling, then this live-binding will be called before direct
337
// bindings. Therefore, we should directly call any direct bindings before remotely submitting form.
338
- 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);
339
340
rails.handleRemote(form);
341
return false;
0 commit comments