From 09d1f4f5e8ae9b4bd65c6241a9c6cdfaeed200fa Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Fri, 18 May 2018 13:48:47 +0200 Subject: [PATCH] Do not show errors on dialog dismiss --- frontend/js/app.js | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) 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), -- 2.41.0