Authoritative Sources: Confirmation dialog on delete
@@ -126,11 +126,13 @@ function editController($state,
function remove(authSource) {
+ if (confirm('Are you sure you want to delete this Authoritative Source ?')) {
authSourceStore
.remove(authSource.id)
.then(refresh)
.then(() => notification.warning('Authoritative Source removed'));
}
+ }
Object.assign(vm, {
