]> git.immae.eu Git - perso/Immae/Projets/Nodejs/Surfer.git/commitdiff
Do not show errors on dialog dismiss
authorJohannes Zellner <johannes@cloudron.io>
Fri, 18 May 2018 11:48:47 +0000 (13:48 +0200)
committerJohannes Zellner <johannes@cloudron.io>
Fri, 18 May 2018 11:48:47 +0000 (13:48 +0200)
frontend/js/app.js

index 92dc1defd6b804183a2140583fe6a0ac77140e0c..8970a0f8b6c3d379fa6fba545bbcc51cfdac931d 100644 (file)
@@ -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),