diff options
Diffstat (limited to 'www')
| -rw-r--r-- | www/js/DataModel.js | 2 | ||||
| -rw-r--r-- | www/js/DevOptionsCtrl.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js index 7f468990..9e6188aa 100644 --- a/www/js/DataModel.js +++ b/www/js/DataModel.js @@ -995,7 +995,7 @@ angular.module('zmApp.controllers') for ( i = 0; i< monitors.length; i++) { monitors[i].Monitor.listDisplay='show'; - monitors[i].Monitor.isAlarmed = 'false'; + monitors[i].Monitor.isAlarmed = false; monitors[i].Monitor.connKey = (Math.floor((Math.random() * 999999) + 1)).toString(); diff --git a/www/js/DevOptionsCtrl.js b/www/js/DevOptionsCtrl.js index 4f4b70bc..3196acbc 100644 --- a/www/js/DevOptionsCtrl.js +++ b/www/js/DevOptionsCtrl.js @@ -21,7 +21,7 @@ angular.module('zmApp.controllers').controller('zmApp.DevOptionsCtrl', ['$scope' { $rootScope.alarmCount="0"; $ionicHistory.nextViewOptions({disableBack: true}); - ZMDataModel.zmStateGo("events", {"id": 0}, { reload: true }); + ZMDataModel.$state.("events", {"id": 0}, { reload: true }); } }; |
