mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:04:53 +01:00
Provide proper data for widget
This commit is contained in:
parent
a5227f2359
commit
a749ba519d
@ -1651,11 +1651,11 @@ unset($query['actions']);
|
||||
//error_log(__METHOD__.__LINE__.array2string($field_data));
|
||||
$content[$field][] = $field_data;//['EMAIL'];
|
||||
$sel_options[$field][] = array(
|
||||
// taglist requires these
|
||||
'id' => $field_data,//['EMAIL'],
|
||||
// 'label' => ($field_data['PERSONAL_NAME'] && $field_data['PERSONAL_NAME']!='NIL') ? $field_data['PERSONAL_NAME']:$field_data['EMAIL'],
|
||||
// taglist requires these - not optional
|
||||
'id' => $field_data,
|
||||
'label' => str_replace('"',"'",$field_data),
|
||||
// Optional
|
||||
'title' => str_replace('"',"'",$field_data),//['RFC822_EMAIL']),
|
||||
//'title' => str_replace('"',"'",$field_data),//['RFC822_EMAIL']),
|
||||
);
|
||||
// Add all other data, will be preserved & passed to js onclick
|
||||
// Also available in widget.options.select_options
|
||||
|
Loading…
Reference in New Issue
Block a user