From 1d6cb3afaac0048856448bc4b7a7b23a8e21b818 Mon Sep 17 00:00:00 2001 From: vChabot Date: Mon, 12 Mar 2012 10:30:14 +0000 Subject: [PATCH] [-] BO : BugFix : #PSTEST-991 : ajax search with category treeview --- .../themes/default/template/helpers/form/form_category.tpl | 5 +++++ classes/helper/Helper.php | 3 +++ 2 files changed, 8 insertions(+) diff --git a/admin-dev/themes/default/template/helpers/form/form_category.tpl b/admin-dev/themes/default/template/helpers/form/form_category.tpl index 3b5e93fc5..832908a4a 100644 --- a/admin-dev/themes/default/template/helpers/form/form_category.tpl +++ b/admin-dev/themes/default/template/helpers/form/form_category.tpl @@ -92,4 +92,9 @@ + {if $categories.use_radio} + + searchCategory(); + + {/if} {/if} diff --git a/classes/helper/Helper.php b/classes/helper/Helper.php index 9024f80c3..4cd3c011a 100755 --- a/classes/helper/Helper.php +++ b/classes/helper/Helper.php @@ -289,6 +289,9 @@ class HelperCore '; + + if ($use_search) + $html .= ''; return $html; }