forked from extern/egroupware
displaying label of link-entry widget as blur text
This commit is contained in:
parent
f185382b0a
commit
55463e493b
@ -420,9 +420,11 @@ class link_widget
|
||||
'no_app_sel' => !!$extension_data['app'],
|
||||
'id' => is_array($value) ? $value['current'] : $id,
|
||||
'query' => is_array($value) ? $value['query'] : '',
|
||||
'blur' => count($options) == 1 ? lang($app) : lang('Search'),
|
||||
'blur' => $cell['label'] ? $cell['label'] :
|
||||
(count($options) == 1 ? lang($app) : lang('Search')),
|
||||
'extra' => $cell['onchange'] ? ','.self::AJAX_NEED_ONCHANGE : null, // store flang for ajax_search, to display extra_line required by onchange
|
||||
);
|
||||
$cell['label'] = ''; // displayed as blur text
|
||||
|
||||
if ($options) // limit the app-selectbox to the given apps
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user