From 5ce543ff08abdabd2176ed02b2fd298a7c6795ad Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Fri, 31 May 2019 14:25:35 -0400 Subject: more noop handling, now that interceptor returns error --- www/js/EventModalCtrl.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'www/js/EventModalCtrl.js') diff --git a/www/js/EventModalCtrl.js b/www/js/EventModalCtrl.js index c59b314f..be97d773 100644 --- a/www/js/EventModalCtrl.js +++ b/www/js/EventModalCtrl.js @@ -1375,7 +1375,9 @@ angular.module('zmApp.controllers').controller('EventModalCtrl', ['$scope', '$ro // This function returns neighbor events if applicable - + function noop() { + + } function neighborEvents(eid, mid) { @@ -1444,7 +1446,8 @@ angular.module('zmApp.controllers').controller('EventModalCtrl', ['$scope', '$ro d.reject(neighbors); return (d.promise); - }); + }) + .catch (noop); return (d.promise); -- cgit v1.2.3