Skip to content

Meteor: inline events don't work in some cases #156

bminer opened this Issue Mar 21, 2013 · 0 comments

1 participant

bminer commented Mar 21, 2013

Inline events are bound once an entire template has finished rendering. For isolate regions, however, inline events for elements that did not exist on the initial rendering will not be properly bound. The inline event handlers will fire, but they will not have access to the view locals in which they are defined.

To fix this bug, the Blade runtime should call blade.LiveUpdate.attachEvents as soon as an inline event is found. This is probably cleaner anyway and may eliminate the need to pass inline event handlers to the template's render callback function.

@bminer bminer was assigned Mar 21, 2013
@bminer bminer added a commit that closed this issue Apr 23, 2013
@bminer Push to 3.2.5
Fixed bug with inline events not being properly bound in isolate regions (fixes #156)
@bminer bminer closed this in d79806a Apr 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.