Skip to content

Commit

Permalink
#88 Notify user then MISP call fails
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Feb 1, 2017
1 parent c155a4d commit d4a4b92
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ui/app/scripts/controllers/misp/MispEventCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
});

self.loadPage();
}, function(response) {
self.loading = false;
AlertSrv.error('MispEventCtrl', response.data, response.status);
$modalInstance.dismiss();
});
};

Expand All @@ -56,7 +60,7 @@

self.ignore = function(){
MispSrv.ignore(self.event.id).then(function( /*data*/ ) {
$modalInstance.dismiss();
$modalInstance.dismiss();
});
};

Expand Down

0 comments on commit d4a4b92

Please sign in to comment.