forked from MarseyWorld/MarseyWorld
restore accidentially removed lines
parent
6e188c1daa
commit
1aac460298
|
@ -33,6 +33,9 @@ function createXhrWithFormKey(url, form=new FormData()) {
|
|||
}
|
||||
|
||||
function postToast(t, url, data, extraActionsOnSuccess, extraActionsOnFailure) {
|
||||
t.disabled = true;
|
||||
t.classList.add("disabled");
|
||||
|
||||
let form = new FormData();
|
||||
if (typeof data === 'object' && data !== null) {
|
||||
for(let k of Object.keys(data)) {
|
||||
|
|
Loading…
Reference in New Issue