forked from extern/egroupware
fixed historylog widget to correct display custom fields of type link to application, @nathan: need to be ported to et2 too
This commit is contained in:
parent
9bb5ddfdf4
commit
0ae0227c98
@ -202,9 +202,16 @@ class historylog_widget
|
||||
if (isset(self::$status_widgets['#'.$cf_name])) continue; // app set a status widget --> use that
|
||||
|
||||
if(!is_array($cf_data['values']) || !$cf_data['values'])
|
||||
{
|
||||
if (isset($GLOBALS['egw_info']['apps'][$cf_data['type']]))
|
||||
{
|
||||
self::$status_widgets['#'.$cf_name] = 'link-entry:'.$cf_data['type'];
|
||||
}
|
||||
else
|
||||
{
|
||||
self::$status_widgets['#'.$cf_name] = $cf_data['type'] != 'text' ? $cf_data['type'] : 'label';
|
||||
}
|
||||
}
|
||||
elseif($cf_data['values']['@'])
|
||||
{
|
||||
self::$status_widgets['#'.$cf_name] = customfields_widget::_get_options_from_file($cf_data['values']['@']);
|
||||
|
Loading…
Reference in New Issue
Block a user