From: Johannes Zellner Date: Fri, 18 May 2018 11:48:47 +0000 (+0200) Subject: Do not show errors on dialog dismiss X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2FNodejs%2FSurfer.git;a=commitdiff_plain;h=09d1f4f5e8ae9b4bd65c6241a9c6cdfaeed200fa Do not show errors on dialog dismiss --- diff --git a/frontend/js/app.js b/frontend/js/app.js index 92dc1de..8970a0f 100644 --- a/frontend/js/app.js +++ b/frontend/js/app.js @@ -275,9 +275,7 @@ var app = new Vue({ refresh(); }); - }).catch(function () { - console.log('delete error:', arguments); - }); + }).catch(function () {}); }, onRename: function (entry) { var that = this; @@ -294,9 +292,7 @@ var app = new Vue({ refresh(); }); - }).catch(function (error) { - that.$message.error(error.message); - }); + }).catch(function () {}); }, onNewFolder: function () { var that = this; @@ -314,9 +310,7 @@ var app = new Vue({ refresh(); }); - }).catch(function (error) { - that.$message.error(error.message); - }); + }).catch(function () {}); }, prettyDate: function (row, column, cellValue, index) { var date = new Date(cellValue),