displaying label of link-entry widget as blur text

This commit is contained in:
Ralf Becker 2010-07-30 08:36:41 +00:00
parent f185382b0a
commit 55463e493b

View File

@ -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
{