I've noticed that a route doesn't re-render when the model changes (i.e. transitionTo
the same route with a different model). I have some jQuery plugins set up on a particular page and I need them to re-render when the model changes, so it appears as a fresh page.
Is there a way to do this? Perhaps by observing the model's ID and firing a re-render of the route somehow?
Thanks in advance
Aucun commentaire:
Enregistrer un commentaire