From 81a8933256c621471a1b0e2340b1d193eb120097 Mon Sep 17 00:00:00 2001 From: phf Date: Fri, 13 Nov 2015 10:36:32 +0100 Subject: [PATCH] FIX autofocus on input search product --- htdocs/core/class/html.form.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 79ba773ad36..49ee359ef62 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -1544,7 +1544,7 @@ class Form print img_picto($langs->trans("Search"), 'search'); } } - print ''; + print 'global->PRODUCT_SEARCH_AUTOFOCUS) ? 'autofocus' : '').' />'; if ($hidelabel == 3) { print img_picto($langs->trans("Search"), 'search'); }