I want to bind the modal to links to show the content - where the link points - in a modal. The idea, that every time when a route visited the function "activate" runs. I placed here the the modal's init.
The problem: If i close the modal, and click again the same link, the activate function wont run again, and the modal doesnt initializate, only if i click an another link and back again.
I made a simple JsBin setup http://emberjs.jsbin.com/EveQOke/29/edit to demonstrate the problem.
Click "Settings", close the modal, then again "Settings", then "Dashboard" and "Settings" again.
Maybe the whole concept is wrong an there is a better way to do this.
I want to bind the modal to links to show the content - where the link points - in a modal. The idea, that every time when a route visited the function "activate" runs. I placed here the the modal's init. The problem: If i close the modal, and click again the same link, the activate function wont run again, and the modal doesnt initializate, only if i click an another link and back again. I made a simple JsBin setup http://emberjs.jsbin.com/EveQOke/29/edit to demonstrate the problem. Click "Settings", close the modal, then again "Settings", then "Dashboard" and "Settings" again.
Maybe the whole concept is wrong an there is a better way to do this.