diff options
Diffstat (limited to 'files/js/fileactions.js')
-rw-r--r-- | files/js/fileactions.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/files/js/fileactions.js b/files/js/fileactions.js index a8de2f9977b..370b1773c68 100644 --- a/files/js/fileactions.js +++ b/files/js/fileactions.js @@ -62,6 +62,9 @@ FileActions={ for(name in actions){ if((name=='Download' || actions[name]!=defaultAction) && name!='Delete'){ var img=FileActions.icons[name]; + if(img.call){ + img=img(); + } var html='<a href="#" title="'+name+'" class="file_action"/>'; var element=$(html); if(img){ |