diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-04-16 13:11:41 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-04-16 13:11:41 +0200 |
commit | 6af808edc9b1550881708b9d0e034649d95c2131 (patch) | |
tree | 233dae515c30abd39dd6924fa170c209aa002c8b /files | |
parent | cfd0140e2faa250e6e90cbeb4ec2ca4dcceed2f4 (diff) | |
download | nextcloud-server-6af808edc9b1550881708b9d0e034649d95c2131.tar.gz nextcloud-server-6af808edc9b1550881708b9d0e034649d95c2131.zip |
fix delete button not always disapearing
Diffstat (limited to 'files')
-rw-r--r-- | files/js/fileactions.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/js/fileactions.js b/files/js/fileactions.js index 5c6dc65d49d..80e918a455c 100644 --- a/files/js/fileactions.js +++ b/files/js/fileactions.js @@ -53,7 +53,7 @@ FileActions={ }, display:function(parent){ FileActions.currentFile=parent; - $('#fileList .action').remove(); + $('#fileList span.fileactions, #fileList td.date a.action').remove(); var actions=FileActions.get(FileActions.getCurrentMimeType(),FileActions.getCurrentType()); var file=FileActions.getCurrentFile(); if($('tr').filterAttr('data-file',file).data('renaming')){ @@ -113,7 +113,7 @@ FileActions={ return false; }, hide:function(){ - $('#fileList span.fileactions').fadeOut(200,function(){ + $('#fileList span.fileactions, #fileList td.date a.action').fadeOut(200,function(){ $(this).remove(); }); }, |