mardi 26 avril 2016

EmberJs - Bubble up action from modal

I have a couple of nested routes. In one of them it's possible to open a modal (which is attached to another outlet called modal).

When the user enters the text and clicks Ok, it's sent an action ('valueUpdated') to the MyrouteChildController. However, I also need to bubble this event up to MyrouteController, but it's not working. I tried returning true in the action handler and also manually calling @send.

If I call the MyrouteChildController's action from its own template it works.

http://ift.tt/26s5YMj

Any help would be appreciated.




Aucun commentaire:

Enregistrer un commentaire