remove post_toast_callback
This commit is contained in:
parent
f79c6a0dcd
commit
ccebef1f06
2 changed files with 5 additions and 7 deletions
|
@ -169,10 +169,6 @@ function post_toast3(t, url, button1, button2) {
|
|||
postToastSwitch(t, url, "POST", button1, button2, "d-md-inline-block");
|
||||
}
|
||||
|
||||
function post_toast_callback(url, data, callback) {
|
||||
postToastCallback2(null, url, "POST", data, (xhr) => callback(xhr));
|
||||
}
|
||||
|
||||
function escapeHTML(unsafe) {
|
||||
return unsafe.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue