onfinished network operation callback on error
This commit is contained in:
parent
4f8ee9bde6
commit
338d9b8c16
|
|
@ -150,6 +150,7 @@ function PostDataControlled(varlist, messtype, applytype, onfinished, enable) {
|
|||
.catch((err) => {
|
||||
Notify.create({ color: "negative", position: "top", message: err.message, icon: "report_problem", });
|
||||
console.log(JSON.stringify(err));
|
||||
if (onfinished) onfinished();
|
||||
});
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user