diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2013-08-15 15:31:42 -0700 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2013-08-15 15:31:42 -0700 |
commit | d2767faf6104f4a4f0330c1771c488beea6245cd (patch) | |
tree | 8a40a297db061318519e902fa7755da5f5bf18fc /apps/files/js/fileactions.js | |
parent | bd1895bdf8dff07bf9dc9803ce991e39daa52acc (diff) | |
parent | b632b8f4e41f12d62fd4abdefa63fc9f9accd432 (diff) | |
download | nextcloud-server-d2767faf6104f4a4f0330c1771c488beea6245cd.tar.gz nextcloud-server-d2767faf6104f4a4f0330c1771c488beea6245cd.zip |
Merge pull request #4113 from owncloud/delete-fix
Delete icon fix
Diffstat (limited to 'apps/files/js/fileactions.js')
-rw-r--r-- | apps/files/js/fileactions.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js index de67d13559e..5027211b536 100644 --- a/apps/files/js/fileactions.js +++ b/apps/files/js/fileactions.js @@ -123,14 +123,11 @@ var FileActions = { img = img(file); } if (typeof trashBinApp !== 'undefined' && trashBinApp) { - var html = '<a href="#" original-title="' + t('files', 'Delete permanently') + '" class="action delete" />'; + var html = '<a href="#" original-title="' + t('files', 'Delete permanently') + '" class="action delete delete-icon" />'; } else { - var html = '<a href="#" original-title="' + t('files', 'Delete') + '" class="action delete" />'; + var html = '<a href="#" class="action delete delete-icon" />'; } var element = $(html); - if (img) { - element.append($('<img class ="svg" src="' + img + '"/>')); - } element.data('action', actions['Delete']); element.on('click', {a: null, elem: parent, actionFunc: actions['Delete']}, actionHandler); parent.parent().children().last().append(element); |