[F.END] aggiunto messaggio per assenza appuntamenti
This commit is contained in:
parent
e27b33ce8e
commit
5e391b9efa
|
@ -6,6 +6,10 @@ function zerocalcareDisplay() {
|
||||||
|
|
||||||
var json_obj = JSON.parse(xhr.responseText);
|
var json_obj = JSON.parse(xhr.responseText);
|
||||||
|
|
||||||
|
if (json_obj.length == 0) {
|
||||||
|
zerocalcareOutput.childNodes[0].textContent = 'Nessun appuntamento in programma';
|
||||||
|
}
|
||||||
|
|
||||||
for (i in json_obj) {
|
for (i in json_obj) {
|
||||||
// Future improvements needed for a better backend output date in ISO format
|
// Future improvements needed for a better backend output date in ISO format
|
||||||
// Now we have to parse the string :( very very ugly
|
// Now we have to parse the string :( very very ugly
|
||||||
|
|
Loading…
Reference in New Issue