From 319d4cb6670729708c19ad50b0146d1bcb7b4719 Mon Sep 17 00:00:00 2001 From: PliablePixels Date: Sat, 27 Jun 2015 09:52:06 -0400 Subject: Added ability to log key events to file and email (useful for release debugging) --- www/js/HelpCtrl.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'www/js/HelpCtrl.js') diff --git a/www/js/HelpCtrl.js b/www/js/HelpCtrl.js index 89c2171b..270cbf33 100644 --- a/www/js/HelpCtrl.js +++ b/www/js/HelpCtrl.js @@ -8,6 +8,8 @@ $scope.openMenu = function () { }; + + //------------------------------------------------------------------------- // Lets make sure we set screen dim properly as we enter // The problem is we enter other states before we leave previous states @@ -18,6 +20,7 @@ $scope.openMenu = function () { $scope.$on('$ionicView.enter', function () { console.log("**VIEW ** Help Ctrl Entered"); ZMDataModel.setAwake(false); + }); }]); -- cgit v1.2.3