From 3a7ee0d67b72a0706b570e021a7482810e4c8c7a Mon Sep 17 00:00:00 2001 From: ulrich@undisclosed <ulrich@ulrich-vaio> Date: Tue, 19 May 2020 10:31:19 +0000 Subject: [PATCH] Stile verfeinert --- web/ui2/js/app.js | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/web/ui2/js/app.js b/web/ui2/js/app.js index 8e08d96..a817006 100644 --- a/web/ui2/js/app.js +++ b/web/ui2/js/app.js @@ -1,8 +1,6 @@ function NutzerApp() { var self = this; - //var vorlagen; var userid; - var loc; this.cache = {}; // mustache template cache this.init = function () { @@ -14,7 +12,6 @@ document.querySelector('.ost').style.flexBasis = '0em'; self.get_login(); self.get_user_list(); - self.loc = window.location.protocol + '//' + window.location.host; }; /* Nutzerverwaltung */ @@ -356,6 +353,7 @@ if(method === 'GET') { xhr.send(); } else if(method === 'POST' || method === 'PUT') { + xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded'); xhr.send(data); } }; -- Gitblit v1.9.3