forked from MarseyWorld/MarseyWorld
remove unnecessary variable
parent
e9f09e1fe9
commit
0dc5761cda
|
@ -56,7 +56,7 @@ function postToast(t, url, data, extraActionsOnSuccess) {
|
||||||
message = getMessageFromJsonData(success, JSON.parse(xhr[0].response));
|
message = getMessageFromJsonData(success, JSON.parse(xhr[0].response));
|
||||||
}
|
}
|
||||||
showToast(success, message);
|
showToast(success, message);
|
||||||
if (success && extraActionsOnSuccess) result = extraActionsOnSuccess(xhr[0]);
|
if (success && extraActionsOnSuccess) extraActionsOnSuccess(xhr[0]);
|
||||||
return success;
|
return success;
|
||||||
};
|
};
|
||||||
xhr[0].send(xhr[1]);
|
xhr[0].send(xhr[1]);
|
||||||
|
|
Loading…
Reference in New Issue