allow dynamicly determaning icons for fileactions
This commit is contained in:
parent
52df7accfd
commit
ae7d9143f4
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue