summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js')
-rw-r--r--www/js/PortalLoginCtrl.js1
-rwxr-xr-xwww/js/app.js1
-rw-r--r--www/js/ionicUtils.js1
3 files changed, 2 insertions, 1 deletions
diff --git a/www/js/PortalLoginCtrl.js b/www/js/PortalLoginCtrl.js
index 5135dffa..c142c536 100644
--- a/www/js/PortalLoginCtrl.js
+++ b/www/js/PortalLoginCtrl.js
@@ -537,5 +537,6 @@ angular.module('zmApp.controllers').controller('zmApp.PortalLoginCtrl', ['$ionic
NVRDataModel.log("Entering Portal Main");
var loginData;
$ionicSideMenuDelegate.canDragContent(true);
+
}]);
diff --git a/www/js/app.js b/www/js/app.js
index 5c861a3f..2b3c9990 100755
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -793,7 +793,6 @@ angular.module('zmApp', [
.success(function (datastr) {
- console.log ("2 PARSE HERE : "+datastr);
var data = JSON.parse(datastr);
$rootScope.newBlogPost = "";
if (data.payload.posts.length <= 0) {
diff --git a/www/js/ionicUtils.js b/www/js/ionicUtils.js
index 5cfa5d7b..c5da1304 100644
--- a/www/js/ionicUtils.js
+++ b/www/js/ionicUtils.js
@@ -21,6 +21,7 @@ angular.module('ionic.utils', [])
$window.localStorage[key] = JSON.stringify(value);
},
getObject: function (key) {
+
return JSON.parse($window.localStorage[key] || '{}');
}
};