A complete AngularJS service with controllers and templates for generating application modals and dialogs for use with Angular-UI-Bootstrap and Twitter Bootstrap
MIT License
618
stars
228
forks
source link
Error, Notify and Wait dialogs don't close with ui-bootstrap-0.13.0 #120
I have been using angular-dialog-service with ui-bootstrap-0.12.1 successfully for sometime, but with ui-bootstrap-0.13.0 neither the close button, the X button, or clicking on the backdrop closes the dialogs. Custom dialogs with my own close logic do work (they call $modalInstance.close() ).
Root cause is in the call to $scope.$destroy() in the default close functions which prevent afterAnimating callback in $modalStack from executing.
I have been using angular-dialog-service with ui-bootstrap-0.12.1 successfully for sometime, but with ui-bootstrap-0.13.0 neither the close button, the X button, or clicking on the backdrop closes the dialogs. Custom dialogs with my own close logic do work (they call
$modalInstance.close()
). Root cause is in the call to$scope.$destroy()
in the default close functions which preventafterAnimating
callback in$modalStack
from executing.