ulrich
2020-05-19 a52c39a698c68fa04789629a79c45ad1f882e627
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);
    }
  };