Commit 09d1f4f5 by Johannes Zellner

Do not show errors on dialog dismiss

1 parent 25c2c5de
Showing with 3 additions and 9 deletions
...@@ -275,9 +275,7 @@ var app = new Vue({ ...@@ -275,9 +275,7 @@ var app = new Vue({
refresh(); refresh();
}); });
}).catch(function () { }).catch(function () {});
console.log('delete error:', arguments);
});
}, },
onRename: function (entry) { onRename: function (entry) {
var that = this; var that = this;
...@@ -294,9 +292,7 @@ var app = new Vue({ ...@@ -294,9 +292,7 @@ var app = new Vue({
refresh(); refresh();
}); });
}).catch(function (error) { }).catch(function () {});
that.$message.error(error.message);
});
}, },
onNewFolder: function () { onNewFolder: function () {
var that = this; var that = this;
...@@ -314,9 +310,7 @@ var app = new Vue({ ...@@ -314,9 +310,7 @@ var app = new Vue({
refresh(); refresh();
}); });
}).catch(function (error) { }).catch(function () {});
that.$message.error(error.message);
});
}, },
prettyDate: function (row, column, cellValue, index) { prettyDate: function (row, column, cellValue, index) {
var date = new Date(cellValue), var date = new Date(cellValue),
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!