From e62473b629b362808fe6dd3958389454ac854519 Mon Sep 17 00:00:00 2001 From: ulrich@undisclosed <ulrich@ulrich-vaio> Date: Tue, 19 May 2020 13:12:08 +0000 Subject: [PATCH] In Arbeit: Piktogramme, Abmelden, 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