Skip to content
Snippets Groups Projects
Commit 9a049de8 authored by Robin Appelman's avatar Robin Appelman
Browse files

fix mimeicon for new files

parent bf18568e
Branches
No related tags found
No related merge requests found
......@@ -310,6 +310,11 @@ $(document).ready(function() {
complete: function(data){boolOperationFinished(data, function(){
var date=new Date();
FileList.addFile(name,0,date);
var tr=$('tr').filterAttr('data-file',name);
tr.data('mime','text/plain');
getMimeIcon('text/plain',function(path){
tr.find('td.filename').attr('style','background-image:url('+path+')');
});
});}
});
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment