From 3835e9acbc9d950b3bc3d42bc7f838d229c08d22 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 16 Aug 2010 07:28:58 +0000 Subject: [PATCH] reverted r31570/7: using label as blur text, as label is already used (as label), using blur text field now, no idea why I didnt used it in the first place ;-) --- etemplate/inc/class.link_widget.inc.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/etemplate/inc/class.link_widget.inc.php b/etemplate/inc/class.link_widget.inc.php index 7d46c2d415..2e224843a7 100644 --- a/etemplate/inc/class.link_widget.inc.php +++ b/etemplate/inc/class.link_widget.inc.php @@ -7,7 +7,7 @@ * @subpackage extensions * @link http://www.egroupware.org * @author Ralf Becker - * @copyright 2002-9 by RalfBecker@outdoor-training.de + * @copyright 2002-10 by RalfBecker@outdoor-training.de * @version $Id$ */ @@ -414,11 +414,10 @@ class link_widget 'no_app_sel' => !!$extension_data['app'], 'id' => is_array($value) ? $value['current'] : $id, 'query' => is_array($value) ? $value['query'] : '', - 'blur' => $cell['label'] ? lang($cell['label']) : + 'blur' => $cell['blur'] ? lang($cell['blur']) : (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 {