From 91d9d45c6c55d5ee2f44567893cf96d034aaed1e Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Mon, 22 Sep 2014 18:17:33 +0200 Subject: correct delete-icon to icon-delete, fix #11128 --- apps/files/js/fileactions.js | 2 +- apps/files/js/filelist.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/files/js') diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js index 4aefd61a19a..8ae0d8f1b2e 100644 --- a/apps/files/js/fileactions.js +++ b/apps/files/js/fileactions.js @@ -304,7 +304,7 @@ if (img.call) { img = img(file); } - html = ''; + html = ''; var element = $(html); element.data('action', actions['Delete']); element.on('click', {a: null, elem: parent, actionFunc: actions['Delete'].action}, actionHandler); diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 1aabfb91f1f..4567052b2a9 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -1427,7 +1427,7 @@ if (files) { for (var i=0; itd.date .action.delete').removeClass('delete-icon').addClass('progress-icon'); + this.$fileList.find('tr>td.date .action.delete').removeClass('icon-delete').addClass('progress-icon'); } $.post(OC.filePath('files', 'ajax', 'delete.php'), @@ -1489,7 +1489,7 @@ else { $.each(files,function(index,file) { var deleteAction = self.findFileEl(file).find('.action.delete'); - deleteAction.removeClass('progress-icon').addClass('delete-icon'); + deleteAction.removeClass('progress-icon').addClass('icon-delete'); }); } } -- cgit v1.2.3