displaying label of link-entry widget as blur text

This commit is contained in:
Ralf Becker 2010-07-30 08:37:55 +00:00
parent d74197bb3a
commit 52ee0ed07a

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
{