From 9c41352c661460f10d35c31292b5d80420b8fa9c Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Sun, 7 Jan 2018 17:24:16 -0500 Subject: #499 fixed onTap messing up event server URL and restore inconsistencies --- www/js/LoginCtrl.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'www/js/LoginCtrl.js') diff --git a/www/js/LoginCtrl.js b/www/js/LoginCtrl.js index 731949e9..b27a1203 100644 --- a/www/js/LoginCtrl.js +++ b/www/js/LoginCtrl.js @@ -312,7 +312,13 @@ angular.module('zmApp.controllers').controller('zmApp.LoginCtrl', ['$scope', '$r else { var savedData; - localforage.getItem("settings-temp-data").then(function(value) + + // this thing is crappy - not sure why it keeps removing + // ES stuff. removing it as of Jan 18 + // this means if you back out while entering login data + // you'll get a blank. small price to pay... + + /*localforage.getItem("settings-temp-data").then(function(value) { savedData = value; //= zmStorageService.getObject ("settings-temp-data"); @@ -327,7 +333,7 @@ angular.module('zmApp.controllers').controller('zmApp.LoginCtrl', ['$scope', '$r { NVRDataModel.log("Not recovering login data as its empty"); } - }); + });*/ } oldLoginData = JSON.stringify($scope.loginData); -- cgit v1.2.3