| | |
| | | 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(); |
| | | }); |
| | |
| | | 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(); |
| | | }); |
| | | |