summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-10-12 09:54:00 -0400
committerPliable Pixels <pliablepixels@gmail.com>2018-10-12 09:54:00 -0400
commit2453cf21be3a283f2ee8ff4640762733c4b7b6b2 (patch)
treeb4158d4558055651c26df333d613e7790a3295a3
parent0c99777beff4abf2035c7a571a758e57a89daf60 (diff)
meh don't think we need these
-rw-r--r--www/js/EventServerSettingsCtrl.js2
-rw-r--r--www/js/WizardCtrl.js9
2 files changed, 4 insertions, 7 deletions
diff --git a/www/js/EventServerSettingsCtrl.js b/www/js/EventServerSettingsCtrl.js
index a4ce03b0..c5857369 100644
--- a/www/js/EventServerSettingsCtrl.js
+++ b/www/js/EventServerSettingsCtrl.js
@@ -213,7 +213,7 @@
type: 'filter',
monlist: monstring,
intlist: intervalstring,
- token: $rootScope.apnsToken,
+ token: $rootScope.apnsToken
}, 1);
if ($rootScope.apnsToken != "")
diff --git a/www/js/WizardCtrl.js b/www/js/WizardCtrl.js
index bc5c3935..a152f537 100644
--- a/www/js/WizardCtrl.js
+++ b/www/js/WizardCtrl.js
@@ -13,12 +13,8 @@ angular.module('zmApp.controllers').controller('zmApp.WizardCtrl', ['$scope', '$
function login(u, zmu, zmp) {
var d = $q.defer();
-
-
-
-
$http({
- method: 'POST',
+ method: 'post',
//withCredentials: true,
url: u,
headers: {
@@ -31,6 +27,7 @@ angular.module('zmApp.controllers').controller('zmApp.WizardCtrl', ['$scope', '$
str.push(encodeURIComponent(p) + "=" +
encodeURIComponent(obj[p]));
var params = str.join("&");
+ //console.log ("PARAMS in login:"+params);
return params;
},
@@ -61,7 +58,7 @@ angular.module('zmApp.controllers').controller('zmApp.WizardCtrl', ['$scope', '$
}
},
function (error) {
- //console.log("************ERROR");
+ // console.log("************ERROR:"+ JSON.stringify(error));
$scope.wizard.portalValidText = $translate.instant('kPortalDetectionFailed');
$scope.wizard.portalColor = "#e74c3c";
d.reject(false);