summaryrefslogtreecommitdiff
path: root/www/js/LoginCtrl.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-05-31 08:21:51 -0400
committerPliable Pixels <pliablepixels@gmail.com>2018-05-31 08:21:51 -0400
commit49263c5ddd92c4374b23cff4273c1e6460823f80 (patch)
tree757fbd96ffdb3bc4d8856bc444a06cc0aa9447c0 /www/js/LoginCtrl.js
parentfd3b8ae2015b8071cb89bd5831ebcfffda3f1709 (diff)
#636 introduce DB get/set checks
Diffstat (limited to 'www/js/LoginCtrl.js')
-rw-r--r--www/js/LoginCtrl.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/www/js/LoginCtrl.js b/www/js/LoginCtrl.js
index dd18724e..14b8d511 100644
--- a/www/js/LoginCtrl.js
+++ b/www/js/LoginCtrl.js
@@ -456,6 +456,9 @@ angular.module('zmApp.controllers').controller('zmApp.LoginCtrl', ['$scope', '$r
//console.log ("*********** SAVE ITEMS CALLED ");
//console.log('Saving login');
+
+ NVRDataModel.debug ("Inside save Items");
+
NVRDataModel.setFirstUse(false);
NVRDataModel.setCurrentServerVersion('');
NVRDataModel.setCurrentServerMultiPortSupported(false);
@@ -601,7 +604,7 @@ angular.module('zmApp.controllers').controller('zmApp.LoginCtrl', ['$scope', '$r
.then(function (data) {
- console.log ("DOLOGIN RETURNED "+ JSON.stringify(data));
+ //console.log ("DOLOGIN RETURNED "+ JSON.stringify(data));
// Now let's validate if the API works
@@ -727,6 +730,7 @@ angular.module('zmApp.controllers').controller('zmApp.LoginCtrl', ['$scope', '$r
$scope.saveItems = function () {
+ NVRDataModel.debug ("User tapped save, calling SaveItems");
NVRDataModel.clearZmsMultiPortSupport();
if (!$scope.loginData.serverName) {
$rootScope.zmPopup = $ionicPopup.alert({