diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-09-22 18:17:33 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-09-22 18:17:33 +0200 |
commit | 91d9d45c6c55d5ee2f44567893cf96d034aaed1e (patch) | |
tree | f093f1c5bb09b9b6a02a94b6e789e2f6c4c6d7bc /apps/files_trashbin | |
parent | 3c5ac2112257731bb89a16e040563e1dddcef689 (diff) | |
download | nextcloud-server-91d9d45c6c55d5ee2f44567893cf96d034aaed1e.tar.gz nextcloud-server-91d9d45c6c55d5ee2f44567893cf96d034aaed1e.zip |
correct delete-icon to icon-delete, fix #11128
Diffstat (limited to 'apps/files_trashbin')
-rw-r--r-- | apps/files_trashbin/js/app.js | 4 | ||||
-rw-r--r-- | apps/files_trashbin/js/filelist.js | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_trashbin/js/app.js b/apps/files_trashbin/js/app.js index c59a132b8c4..0afa871bc9c 100644 --- a/apps/files_trashbin/js/app.js +++ b/apps/files_trashbin/js/app.js @@ -41,7 +41,7 @@ OCA.Trashbin.App = { var fileList = context.fileList; var tr = fileList.findFileEl(filename); var deleteAction = tr.children("td.date").children(".action.delete"); - deleteAction.removeClass('delete-icon').addClass('progress-icon'); + deleteAction.removeClass('icon-delete').addClass('progress-icon'); fileList.disableActions(); $.post(OC.filePath('files_trashbin', 'ajax', 'undelete.php'), { files: JSON.stringify([filename]), @@ -58,7 +58,7 @@ OCA.Trashbin.App = { $('.tipsy').remove(); var tr = fileList.findFileEl(filename); var deleteAction = tr.children("td.date").children(".action.delete"); - deleteAction.removeClass('delete-icon').addClass('progress-icon'); + deleteAction.removeClass('icon-delete').addClass('progress-icon'); fileList.disableActions(); $.post(OC.filePath('files_trashbin', 'ajax', 'delete.php'), { files: JSON.stringify([filename]), diff --git a/apps/files_trashbin/js/filelist.js b/apps/files_trashbin/js/filelist.js index 826c1bd64d5..fbf5b3f88d5 100644 --- a/apps/files_trashbin/js/filelist.js +++ b/apps/files_trashbin/js/filelist.js @@ -148,7 +148,7 @@ files = _.pluck(this.getSelectedFiles(), 'name'); for (var i = 0; i < files.length; i++) { var deleteAction = this.findFileEl(files[i]).children("td.date").children(".action.delete"); - deleteAction.removeClass('delete-icon').addClass('progress-icon'); + deleteAction.removeClass('icon-delete').addClass('progress-icon'); } params = { files: JSON.stringify(files), @@ -202,7 +202,7 @@ else { for (var i = 0; i < files.length; i++) { var deleteAction = this.findFileEl(files[i]).children("td.date").children(".action.delete"); - deleteAction.removeClass('delete-icon').addClass('progress-icon'); + deleteAction.removeClass('icon-delete').addClass('progress-icon'); } } |