From 62a43669b0db25e1a2adf36f83bf50fab45951f2 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Thu, 5 Jan 2017 05:41:04 -0500 Subject: event deletion- addresses #422 --- www/js/EventCtrl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js index fa698f48..260ecf47 100644 --- a/www/js/EventCtrl.js +++ b/www/js/EventCtrl.js @@ -1709,7 +1709,7 @@ angular.module('zmApp.controllers') $ionicLoading.hide(); NVRDataModel.debug("delete output: " + JSON.stringify(data)); - if (data.data.message == 'Error') + if (data.message == 'Error') { $ionicLoading.show( { -- cgit v1.2.3