[SOLVED] Routed modal close issue


#1

I have a popup created in the way described in the routes documentation under “Routable Modals”

After it is created, the way i found i could close it was by using app.popup.close(); with no arguments.

My issue now is, i want to set animate to false. since the popup was created dynamically i don’t have the element to target so i can’t do: app.popup.close(’#element’,false);

I thought that app.popup.close(null,false); would do the trick, but it dosen’t. How can i close this popup without the animated transition?


#2

if it helps anyone, i figured it out: app.popup.close(undefined,false); will close a routable modal with no animation.