From 8287036997695e731d68d380834cd63919a7a80e Mon Sep 17 00:00:00 2001
From: ulrich
Date: Mon, 10 Jan 2022 16:11:28 +0000
Subject: [PATCH] Nicht benoetigte Klassen entfernt

---
 www/js/app.js |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/www/js/app.js b/www/js/app.js
index 8fbd573..38da416 100644
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -712,15 +712,14 @@
     self.http_call('DELETE', u, data, cb);
   };
   
-  this.http_call = function (method, u, data, scallback) {
+  this.http_call = function (method, callurl, data, scallback) {
     var xhr = new XMLHttpRequest();
-    var url = u;
     xhr.onreadystatechange = function () {
       if (this.readyState === 4 && this.status === 200) {
         scallback(this.responseText);
       }
     };
-    xhr.open(method, url);
+    xhr.open(method, callurl);
     if (method === 'GET') {
       xhr.send();
     } else if (method === 'POST' || method === 'PUT' || method === 'DELETE') {

--
Gitblit v1.9.3