Use icons for all buttons
This commit is contained in:
@@ -65,7 +65,7 @@ export default Controller.extend({
|
||||
|
||||
deleteDocuments () {
|
||||
const documentCount = this.get('documentCount');
|
||||
const msg = `This will delete all ${documentCount} documents/files in the current directory. Are you sure?`;
|
||||
const msg = `Delete all ${documentCount} documents/files in the current directory?`;
|
||||
if (! window.confirm(msg)) { return false; }
|
||||
|
||||
const client = this.get('storage.client');
|
||||
|
||||
@@ -41,7 +41,7 @@ export default Controller.extend({
|
||||
},
|
||||
|
||||
deleteItem () {
|
||||
if (window.confirm('Sure?')) {
|
||||
if (window.confirm('Delete?')) {
|
||||
this.get('storage.client')
|
||||
.remove(this.get('path')).then(() => {
|
||||
this.transitionToRoute('index', {
|
||||
|
||||
Reference in New Issue
Block a user