From d99c6ffb8ed5b05101dd1d89585cd4bd622262d9 Mon Sep 17 00:00:00 2001 From: pliablepixels Date: Thu, 21 Apr 2016 09:09:22 -0400 Subject: #228 initial code Former-commit-id: a3de04e4b05eecb335611d1ba720548c25c6e8ef --- www/js/DevOptionsCtrl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www/js/DevOptionsCtrl.js') diff --git a/www/js/DevOptionsCtrl.js b/www/js/DevOptionsCtrl.js index 3196acbc..a85322cd 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.$state.("events", {"id": 0}, { reload: true }); + $state.go("events", {"id": 0}, { reload: true }); } }; -- cgit v1.2.3