Errors not displayed in Notifications Explorer
When an error is returned from an AJAX request, the modal is not shown.
Steps to reproduce :
- Create a first notification
- Create a second notification with same uid/date/ref
The server returns an error (400) but this is not managed by Notifications explorer:
POST http://manager.example.com/notifications/actives 400 (Bad Request)
TypeError: Cannot read property 'data' of undefined
at angular.js:10498
at angular.js:14991
at r.$eval (angular.js:16251)
at r.$digest (angular.js:16069)
at r.$apply (angular.js:16359)
at g (angular.js:10791)
at R (angular.js:10989)
at XMLHttpRequest.v.onload (angular.js:10930)