From d2e9c80c534ee1da33ee348fd71a1905628d3716 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 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14029 b9a71923-0436-4b27-9f14-aed3839534dd --- .../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; }