I have a modal to edit some itens in my application, and inside this modal I have a remove button which calls another modal service in the scope of the previous modal controller to present a confirmation dialog.
How can I keep the previous modal open and only close both modals if the confirmation button is clicked, but closing just the confirmation modal if cancel button is clicked? Why is my first modal closed when the new one (child) is called?
At the moment the service only supports ones modal at a time (if you are using bootstrap) as this is a limitation of the bootstrap modal itself I'm afraid. So you'll have to fork and hack it to make it work!
Hi,
I have a modal to edit some itens in my application, and inside this modal I have a remove button which calls another modal service in the scope of the previous modal controller to present a confirmation dialog.
How can I keep the previous modal open and only close both modals if the confirmation button is clicked, but closing just the confirmation modal if cancel button is clicked? Why is my first modal closed when the new one (child) is called?