-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Event rebinding issue #14
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems that the current script does not handle event rebinding correctly.
Replacing
live
withon
is not a 1:1 relation, it seems. Rationale: http://blog.revathskumar.com/2013/10/jquery-on-avoid-losing-event-binding-for-ajaxed-contents.htmlTo reproduce:
Use a link to load a remote partial, containing a remote form.
The form, with remote: true, will fail to behave correctly and will not make
an asynchronous request.
It might be overkill for padrino (or not), but a workaround is using https://github.com/rails/jquery-ujs which actually is backend independent and can work as a drop-in replacement.
Using 0.11.4.
The text was updated successfully, but these errors were encountered: