summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-09-23 14:17:04 -0400
committerPliable Pixels <pliablepixels@gmail.com>2018-09-23 14:17:04 -0400
commit2dcd736caf0cfd3fc4ff0a2841d486c795d6661d (patch)
treece1f4cfdfd5b01b77d7ec13f1352c1976f401c57 /www/js
parentfcb74d996161f47a63ef5232098358872b288593 (diff)
wekwebview fixes
Diffstat (limited to 'www/js')
-rw-r--r--www/js/MontageCtrl.js4
-rwxr-xr-xwww/js/app.js8
2 files changed, 6 insertions, 6 deletions
diff --git a/www/js/MontageCtrl.js b/www/js/MontageCtrl.js
index fefe2ddc..f4c77a80 100644
--- a/www/js/MontageCtrl.js
+++ b/www/js/MontageCtrl.js
@@ -334,7 +334,7 @@ angular.module('zmApp.controllers')
progressCalled = true;
loadCount++;
- console.log ("loaded "+loadCount+" of "+positions.length);
+ // console.log ("loaded "+loadCount+" of "+positions.length);
// if (layouttype) $timeout (function(){layout(pckry);},100);
});
@@ -1828,7 +1828,7 @@ angular.module('zmApp.controllers')
// NVRDataModel.regenConnKeys();
$scope.monitors = NVRDataModel.getMonitorsNow();
- console.log ("MONITORS:"+JSON.stringify($scope.monitors));
+ //console.log ("MONITORS:"+JSON.stringify($scope.monitors));
$scope.MontageMonitors = angular.copy($scope.monitors);
diff --git a/www/js/app.js b/www/js/app.js
index 6287e09b..6ca4c9d0 100755
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -1967,9 +1967,9 @@ angular.module('zmApp', [
$rootScope.$state = $state;
$rootScope.$stateParams = $stateParams;
- if (window.cordova && window.cordova.plugins.Keyboard) {
- // console.log("no keyboard");
- // cordova.plugins.Keyboard.disableScroll(true);
+ if (window.cordova ) {
+ console.log("------------->Keyboard foonone");
+ //window.cordova.plugins.Keyboard.disableScroll(true);
}
if (window.StatusBar) {
// org.apache.cordova.statusbar required
@@ -2255,7 +2255,7 @@ angular.module('zmApp', [
}]);
// If you do this, Allow Origin can't be *
- //$httpProvider.defaults.withCredentials = true;
+ $httpProvider.defaults.withCredentials = true;
$httpProvider.interceptors.push('timeoutHttpIntercept');
$ionicConfigProvider.navBar.alignTitle('center');
//$ionicConfigProvider.backButton.text('').icon('ion-chevron-left');