diff --git a/CardActions.vue b/CardActions.vue index 3e54b8c..3b6ff99 100644 --- a/CardActions.vue +++ b/CardActions.vue @@ -1,16 +1,19 @@ diff --git a/helpers.js b/helpers.js index 8309d7f..ebf6d4e 100644 --- a/helpers.js +++ b/helpers.js @@ -29,8 +29,8 @@ function ShowDelayDialog(mess, time, onexpire) { clearInterval(interval) setTimeout(() => { dialog.hide(); - () => { onexpire }; - }, 350) + onexpire(); + }, 500) } }, 100) } diff --git a/network.js b/network.js index 4385d01..1493510 100644 --- a/network.js +++ b/network.js @@ -29,9 +29,11 @@ function PostDataControlled(varlist, messtype, applytype, onfinished, enable) { for (var k in resp) varlist[k] = resp[k]; } if (onfinished) onfinished(); + }) .catch((err) => { Notify.create({ color: "negative", position: "top", message: err.message, icon: "report_problem", }); + console.log(JSON.stringify(err)); }); }