fix delete button not always disapearing
This commit is contained in:
parent
cfd0140e2f
commit
6af808edc9
|
@ -53,7 +53,7 @@ FileActions={
|
||||||
},
|
},
|
||||||
display:function(parent){
|
display:function(parent){
|
||||||
FileActions.currentFile=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 actions=FileActions.get(FileActions.getCurrentMimeType(),FileActions.getCurrentType());
|
||||||
var file=FileActions.getCurrentFile();
|
var file=FileActions.getCurrentFile();
|
||||||
if($('tr').filterAttr('data-file',file).data('renaming')){
|
if($('tr').filterAttr('data-file',file).data('renaming')){
|
||||||
|
@ -113,7 +113,7 @@ FileActions={
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
hide:function(){
|
hide:function(){
|
||||||
$('#fileList span.fileactions').fadeOut(200,function(){
|
$('#fileList span.fileactions, #fileList td.date a.action').fadeOut(200,function(){
|
||||||
$(this).remove();
|
$(this).remove();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue