replacing site-local error display by global error display
This commit is contained in:
@@ -28,10 +28,10 @@
|
||||
projects = await resp.json();
|
||||
yikes();
|
||||
} else {
|
||||
error(await resp.text());
|
||||
error(resp);
|
||||
}
|
||||
} else {
|
||||
error(await resp.text());
|
||||
error(resp);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
project.allowed_states[json.code] = json.name;
|
||||
yikes();
|
||||
} else {
|
||||
error(await resp.text());
|
||||
error(resp);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
yikes();
|
||||
loadTasks();
|
||||
} else {
|
||||
error(await resp.text());
|
||||
error(resp);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -113,7 +113,7 @@
|
||||
tasks = await resp.json();
|
||||
yikes();
|
||||
} else {
|
||||
error(await resp.text());
|
||||
error(resp);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
project = await resp.json();
|
||||
return true;
|
||||
} else {
|
||||
error(await resp.text());
|
||||
error(resp);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user