// Fix associated categories tree header

This commit is contained in:
Jerome Nadaud
2013-09-13 11:50:27 +02:00
parent 968f2a45d5
commit 2bf17241bd
4 changed files with 147 additions and 25 deletions
@@ -2892,7 +2892,9 @@ class AdminProductsControllerCore extends AdminController
$categories[] = $key;
$tree = new HelperTreeCategories('associated-categories-tree', 'Associated categories');
$tree->setRootCategory($root->id)
$tree->setTemplate('tree_associated_categories.tpl')
->setHeaderTemplate('tree_associated_header.tpl')
->setRootCategory($root->id)
->setUseCheckBox(true)
->setUseSearch(true)
->setSelectedCategories($categories);