Browse Source

remove unused loading spinners, just have one

remotes/origin/stable6
Jan-Christoph Borchardt 13 years ago
parent
commit
d9dcba9a39
  1. 4
      apps/files_trashbin/js/trash.js
  2. BIN
      core/img/loader.gif
  3. BIN
      core/img/loading-dark.gif

4
apps/files_trashbin/js/trash.js

@ -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];

BIN
core/img/loader.gif

Before

Width: 16  |  Height: 16  |  Size: 847 B

BIN
core/img/loading-dark.gif

Before

Width: 16  |  Height: 16  |  Size: 673 B

Loading…
Cancel
Save