0
In the ui-bootstrap
, i can disable the modal closure by clicking on the black background through the option {backdrop: 'static'}
.
But now I also need to turn off the key ESC, because when you press that button, the modal is closed.
How to do this?
The modal I currently have is like this:
$uibModal.open({
templateUrl: '/ng-views/os/form.html',
backdrop: 'static',
controller: 'OSFormController'
});
That’s right. It worked. Thanks :D
– Wallace Maxters