From a52c39a698c68fa04789629a79c45ad1f882e627 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Tue, 19 May 2020 10:23:09 +0000
Subject: [PATCH] Stile des Rollen-Dialogs 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