summaryrefslogtreecommitdiff
path: root/www/js/EventModalCtrl.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2019-05-31 14:25:35 -0400
committerPliable Pixels <pliablepixels@gmail.com>2019-05-31 14:25:35 -0400
commit5ce543ff08abdabd2176ed02b2fd298a7c6795ad (patch)
tree3b6af8e0e0941ebbdbe08c9cf415453af5df7397 /www/js/EventModalCtrl.js
parentdf929e10f2ba5677833c59eaf4df30838f3eed56 (diff)
more noop handling, now that interceptor returns error
Diffstat (limited to 'www/js/EventModalCtrl.js')
-rw-r--r--www/js/EventModalCtrl.js7
1 files changed, 5 insertions, 2 deletions
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);