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

When Template.main.preserve (or preserve-inputs) is set, template helper doesn't update template in WebKit browsers. #523

Closed
hgezim opened this Issue Dec 4, 2012 · 2 comments

Comments

Projects
None yet
2 participants
@hgezim

hgezim commented Dec 4, 2012

I have a template (snippet):

And define user_email as follows:

Template.main.user_email = () ->
return Session.get 'user_email'

setTimeout () ->
Session.set 'user_email', "hgezim@example.com"
, 100

However, the template never updates in WebKit based browsers (Chrome and Safari on Mac).

Demo: http://template-helper-update-issue-preserve-inputs.meteor.com/
Code of demo: https://github.com/hgezim/template-helper-update-issue

Could someone please look into it?

I don't mind fixing it if I'm pointed in the right direction.

@glasser

This comment has been minimized.

Member

glasser commented Dec 4, 2012

Good timing! If I understand your bug report correctly, this is fixed by the work that I just pushed to devel, eg 723154e. I think if you test with the devel branch of Meteor you should discover that it's fixed.

@glasser glasser closed this Dec 4, 2012

@hgezim

This comment has been minimized.

hgezim commented Dec 5, 2012

Yup, perfect timing. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment