diff --git a/files/js/fileactions.js b/files/js/fileactions.js
index 370b1773c68f78d76a49879afd70897d5632cccc..744ffd8cfedc43dccbe4ba0e07365f085aeeac02 100644
--- a/files/js/fileactions.js
+++ b/files/js/fileactions.js
@@ -63,7 +63,7 @@ FileActions={
 			if((name=='Download' || actions[name]!=defaultAction) && name!='Delete'){
 				var img=FileActions.icons[name];
 				if(img.call){
-					img=img();
+					img=img(file);
 				}
 				var html='<a href="#" title="'+name+'" class="file_action"/>';
 				var element=$(html);