summaryrefslogtreecommitdiff
path: root/www/js/app.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-10-22 09:38:27 -0400
committerPliable Pixels <pliablepixels@gmail.com>2018-10-22 09:38:27 -0400
commite3ee3eeeb220cfce88ddfdb2189ec6e49432565f (patch)
tree9abbbc5cfaee04e393ef1200aa6e9af955fcb522 /www/js/app.js
parent304ec3a2ed6ec5de921894aa1bc853548b0fcfb3 (diff)
other cleanup
Diffstat (limited to 'www/js/app.js')
-rwxr-xr-xwww/js/app.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/www/js/app.js b/www/js/app.js
index 8bbe4d1b..fd772197 100755
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -1009,7 +1009,7 @@ angular.module('zmApp', [
proceedWithLogin()
.then(function (success) {
- NVRDataModel.debug("Storing login time as " + moment().toString());
+ //NVRDataModel.debug("Storing login time as " + moment().toString());
localforage.setItem("lastLogin", moment().toString());
d.resolve(success);
return d.promise;
@@ -1813,7 +1813,7 @@ angular.module('zmApp', [
toState.name != "app.zm-portal-login"
) {
- NVRDataModel.debug("Setting last-desktop-state to:" + JSON.stringify(toState));
+ // NVRDataModel.debug("Setting last-desktop-state to:" + JSON.stringify(toState));
localforage.setItem('last-desktop-state', {
'name': toState.name,
'params': toState.params
@@ -1852,7 +1852,7 @@ angular.module('zmApp', [
// to work in Windows
- NVRDataModel.debug("Setting last-desktop-state to:" + JSON.stringify(toState) + " with params:" + JSON.stringify(toParams));
+ //NVRDataModel.debug("Setting last-desktop-state to:" + JSON.stringify(toState) + " with params:" + JSON.stringify(toParams));
localforage.setItem('last-desktop-state', {
'name': toState,
'params': toParams
@@ -2204,8 +2204,8 @@ angular.module('zmApp', [
$rootScope.lastState = $ionicHistory.currentView().stateName;
$rootScope.lastStateParam =
$ionicHistory.currentView().stateParams;
- NVRDataModel.debug("Last State recorded:" +
- JSON.stringify($ionicHistory.currentView()));
+ //NVRDataModel.debug("Last State recorded:" +
+ //JSON.stringify($ionicHistory.currentView()));
if ($rootScope.lastState == "app.zm-portal-login") {
NVRDataModel.debug("Last state was portal-login, so forcing montage");