data-remote links that enter the DOM after page load act as normal links #42
Labels
Priority: High
Status: Unresolved
Type: Bug
Something isn't working
Type: Feature
New feature or request
Projects
Milestone
Expected Behaviour
I should be able to add a data-remote link to the DOM and have it work the same as one that was present at page load.
Actual Behaviour
data-remote links added to the DOM after page load don't submit a fetch request and act like normal links.
Interestingly, remote forms that are added to the DOM after page load still seem to work.
Steps to Reproduce
See https://github.com/existentialmutt/cable_car_messages/tree/mrujs . Start up the app and click on New Message, then "Cancel" .
tested with mrujs-0.3.0-beta.11
The text was updated successfully, but these errors were encountered: