fdsfds
This commit is contained in:
parent
6d9727d0b8
commit
1f32f3a35d
12 changed files with 51 additions and 32 deletions
|
@ -16,7 +16,7 @@ function post_toast2(url, button1, button2) {
|
|||
|
||||
xhr.onload = function() {
|
||||
data = JSON.parse(xhr.response)
|
||||
if (xhr.status >= 200 && xhr.status < 300 && !data["error"] ) {
|
||||
if (xhr.status >= 200 && xhr.status < 300 && !data["error"]) {
|
||||
try {
|
||||
document.getElementById('toast-post-success-text').innerText = data["message"];
|
||||
} catch(e) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue