Hey guys,
I want to be able to call some functions and do some calculations when modal is closing, but I couldnt find anything like "onClose".
The existing modal.close.then(function(result) {}) thing doesnt even get fired when I close my modal.
Not sure if "modal.close.then" is something that I am looking for. But all I want to simply do is, when the user clicks on "Save" button on my modal, I want to make an $http call and refresh the table on the previous view before modal.
Anyone can help me with this?
Hey guys,
I want to be able to call some functions and do some calculations when modal is closing, but I couldnt find anything like "onClose".
The existing
modal.close.then(function(result) {})thing doesnt even get fired when I close my modal.Not sure if "modal.close.then" is something that I am looking for. But all I want to simply do is, when the user clicks on "Save" button on my modal, I want to make an $http call and refresh the table on the previous view before modal.
Anyone can help me with this?