aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJohannes Zellner <johannes@cloudron.io>2018-05-18 13:48:47 +0200
committerJohannes Zellner <johannes@cloudron.io>2018-05-18 13:48:47 +0200
commit09d1f4f5e8ae9b4bd65c6241a9c6cdfaeed200fa (patch)
treec0f2564055e62080f43b42b3f2ce2ac441dc4bba
parent25c2c5dea457b206c26a9f746210016773a919b3 (diff)
downloadSurfer-09d1f4f5e8ae9b4bd65c6241a9c6cdfaeed200fa.tar.gz
Surfer-09d1f4f5e8ae9b4bd65c6241a9c6cdfaeed200fa.tar.zst
Surfer-09d1f4f5e8ae9b4bd65c6241a9c6cdfaeed200fa.zip
Do not show errors on dialog dismiss
-rw-r--r--frontend/js/app.js12
1 files 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({
275 275
276 refresh(); 276 refresh();
277 }); 277 });
278 }).catch(function () { 278 }).catch(function () {});
279 console.log('delete error:', arguments);
280 });
281 }, 279 },
282 onRename: function (entry) { 280 onRename: function (entry) {
283 var that = this; 281 var that = this;
@@ -294,9 +292,7 @@ var app = new Vue({
294 292
295 refresh(); 293 refresh();
296 }); 294 });
297 }).catch(function (error) { 295 }).catch(function () {});
298 that.$message.error(error.message);
299 });
300 }, 296 },
301 onNewFolder: function () { 297 onNewFolder: function () {
302 var that = this; 298 var that = this;
@@ -314,9 +310,7 @@ var app = new Vue({
314 310
315 refresh(); 311 refresh();
316 }); 312 });
317 }).catch(function (error) { 313 }).catch(function () {});
318 that.$message.error(error.message);
319 });
320 }, 314 },
321 prettyDate: function (row, column, cellValue, index) { 315 prettyDate: function (row, column, cellValue, index) {
322 var date = new Date(cellValue), 316 var date = new Date(cellValue),