summaryrefslogtreecommitdiff
path: root/www/js/MonitorCtrl.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/MonitorCtrl.js
parentdf929e10f2ba5677833c59eaf4df30838f3eed56 (diff)
more noop handling, now that interceptor returns error
Diffstat (limited to 'www/js/MonitorCtrl.js')
-rw-r--r--www/js/MonitorCtrl.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/www/js/MonitorCtrl.js b/www/js/MonitorCtrl.js
index 0b6b9985..e36d233d 100644
--- a/www/js/MonitorCtrl.js
+++ b/www/js/MonitorCtrl.js
@@ -64,6 +64,8 @@ angular.module('zmApp.controllers')
return;
}
};
+
+ function noop() {}
//-----------------------------------------------------------------------
// This function takes care of changing monitor parameters
// For now, I've only limited it to enable/disable and change monitor mode
@@ -221,7 +223,8 @@ angular.module('zmApp.controllers')
});*/
doRefresh();
}
- });
+ })
+ .catch (noop);
}
},