diff --git a/network.js b/network.js index 73457d9..90e5dfc 100644 --- a/network.js +++ b/network.js @@ -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(); }); }