From 9865bd176bde875b1f1eaf4d4319c5c3b298ff69 Mon Sep 17 00:00:00 2001 From: ulrich Date: Sat, 10 Apr 2021 18:14:44 +0000 Subject: [PATCH] Fehler bei Abspielliste-Formular bei Cancel behoben --- www/ui/js/app.js | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/www/ui/js/app.js b/www/ui/js/app.js index e8ed993..e6f0d1e 100644 --- a/www/ui/js/app.js +++ b/www/ui/js/app.js @@ -147,7 +147,8 @@ this.abspielliste_form = function(al) { self.entitaet_form('Abspielliste', al, al.name, "data/tpl/form_abspielliste.tpl", '../api/store/Abspielliste/', - '#abspielliste-name', function() { + '#abspielliste-name', function(event) { + event.preventDefault(); self.abspielliste_auswahl_fuellen(); self.abspielliste_liste(); }); @@ -251,7 +252,7 @@ var plname = document.querySelector('#playlist').value; self.http_delete('../api/alist/' + plname + '/' + index,'', function(responseText) { // DELETE http://localhost:9090/mz/api/alist/liste1/0 - self.meldung_mit_timeout(responseText, 1500); + //self.meldung_mit_timeout(responseText, 1500); self.titel_liste(); }); -- Gitblit v1.9.3