Merge pull request #876 from owncloud/mimicon_fix

fix mimetype icons for new files
This commit is contained in:
icewind1991 2012-12-13 14:41:22 -08:00
commit b156150b34

View file

@ -853,7 +853,7 @@ function getMimeIcon(mime, ready){
if(getMimeIcon.cache[mime]){
ready(getMimeIcon.cache[mime]);
}else{
$.get( OC.filePath('files','ajax','mimeicon.php')+'&mime='+mime, function(path){
$.get( OC.filePath('files','ajax','mimeicon.php'), {mime: mime}, function(path){
getMimeIcon.cache[mime]=path;
ready(getMimeIcon.cache[mime]);
});