diff --git a/src/app/files/file-explorer.js b/src/app/files/file-explorer.js index 2d14fcae75..2d8f8f7157 100644 --- a/src/app/files/file-explorer.js +++ b/src/app/files/file-explorer.js @@ -236,7 +236,7 @@ function fileExplorer (localRegistry, files, menuItems) { if (self.files.isReadOnly(key)) { return tooltip('cannot delete folder. ' + self.files.type + ' is a read only explorer') } const currentFoldername = extractNameFromKey(key) - modalDialogCustom.confirm(`Confirm to delete ${currentFoldername} folder', 'Are you sure you want to delete ${currentFoldername} folder?`, + modalDialogCustom.confirm(`Confirm to delete ${currentFoldername} folder`, `Are you sure you want to delete ${currentFoldername} folder?`, () => { if (!files.remove(key)) { tooltip(`failed to remove ${key}. Make sure the directory is empty before removing it.`)