Posted by jix_ on October 25, 2009 at 12:11am
Jump to:
| Project: | Media |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
I just noticed the thumbnails display has no empty text yet, so I tried this in media_admin_thumbnails (media.admin.inc):
$form['files'] = array(
'#tree' => TRUE,
'#empty' => t('No media available.'), // Doesn't work.
'#prefix' => '<div class ="media-display-thumbnails clearfix">',
'#suffix' => '</div>',
);But the #empty doesn't seem to be picked up. I'm not very familiar with the forms API yet, could someone help me out with this?
Comments
#1
fixed
#2
ah, whoops, this still needs action...
#3
this is fixed now.
#4
Automatically closed -- issue fixed for 2 weeks with no activity.