]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove unused loading spinners, just have one
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Mon, 17 Jun 2013 10:35:25 +0000 (12:35 +0200)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Mon, 17 Jun 2013 10:35:25 +0000 (12:35 +0200)
apps/files_trashbin/js/trash.js
core/img/loader.gif [deleted file]
core/img/loading-dark.gif [deleted file]

index 82119a5951748ff1a9fe4360de69fcb92168cbe1..307ac743a3c9b2b8881460eeeccc330dfeac03f7 100644 (file)
@@ -4,7 +4,7 @@ $(document).ready(function() {
        if (typeof FileActions !== 'undefined') {
                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 spinner = '<img class="move2trash" title="'+t('files_trashbin', 'perform restore operation')+'" src="'+ OC.imagePath('core', 'loading.gif') +'"></a>';
                        var undeleteAction = $('tr').filterAttr('data-file',filename).children("td.date");
                        var files = tr.attr('data-file');
                        undeleteAction[0].innerHTML = undeleteAction[0].innerHTML+spinner;
@@ -94,7 +94,7 @@ $(document).ready(function() {
 
                $('.undelete').click('click',function(event) {
                        event.preventDefault();
-                       var spinner = '<img class="move2trash" title="'+t('files_trashbin', 'perform restore operation')+'" src="'+ OC.imagePath('core', 'loader.gif') +'"></a>';
+                       var spinner = '<img class="move2trash" title="'+t('files_trashbin', 'perform restore operation')+'" src="'+ OC.imagePath('core', 'loading.gif') +'"></a>';
                        var files=getSelectedFiles('file');
                        var fileslist = JSON.stringify(files);
                        var dirlisting=getSelectedFiles('dirlisting')[0];
diff --git a/core/img/loader.gif b/core/img/loader.gif
deleted file mode 100644 (file)
index e192ca8..0000000
Binary files a/core/img/loader.gif and /dev/null differ
diff --git a/core/img/loading-dark.gif b/core/img/loading-dark.gif
deleted file mode 100644 (file)
index 5fe86ac..0000000
Binary files a/core/img/loading-dark.gif and /dev/null differ