]> source.dussan.org Git - nextcloud-server.git/commitdiff
use consistent icon for 'restore'/versions/history, also SVG
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Mon, 17 Jun 2013 10:18:45 +0000 (12:18 +0200)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Mon, 17 Jun 2013 10:18:45 +0000 (12:18 +0200)
apps/files_trashbin/js/trash.js
core/img/actions/undelete.png [deleted file]

index 691642811b74f35ba46912065e6839e71becc4d0..82119a5951748ff1a9fe4360de69fcb92168cbe1 100644 (file)
@@ -2,7 +2,7 @@
 $(document).ready(function() {
 
        if (typeof FileActions !== 'undefined') {
-               FileActions.register('all', 'Restore', OC.PERMISSION_READ,  OC.imagePath('core', 'actions/undelete.png'), function(filename) {
+               FileActions.register('all', 'Restore', OC.PERMISSION_READ,  OC.imagePath('core', 'actions/history.svg'), function(filename) {
                        var tr=$('tr').filterAttr('data-file', filename);
                        var spinner = '<img class="move2trash" title="'+t('files_trashbin', 'perform restore operation')+'" src="'+ OC.imagePath('core', 'loader.gif') +'"></a>';
                        var undeleteAction = $('tr').filterAttr('data-file',filename).children("td.date");
diff --git a/core/img/actions/undelete.png b/core/img/actions/undelete.png
deleted file mode 100644 (file)
index d712527..0000000
Binary files a/core/img/actions/undelete.png and /dev/null differ