// Commit new tabs in product edition

This commit is contained in:
tDidierjean
2011-12-09 14:22:46 +00:00
parent 3397c86113
commit 5abc2761ef
9 changed files with 229 additions and 140 deletions
+5 -2
View File
@@ -129,8 +129,7 @@ class HelperCore
$context = Context::getContext();
$context->controller->addCSS(_PS_JS_DIR_.'jquery/plugins/treeview/jquery.treeview.css');
$context->controller->addJs(array(
_PS_JS_DIR_.'jquery/plugins/treeview/jquery.treeview.js',
_PS_JS_DIR_.'jquery/plugins/treeview/jquery.treeview.async.js',
@@ -158,6 +157,9 @@ class HelperCore
var selectedLabel = \''.$trads['selected'].'\';
var home = \''.$trads['Home'].'\';
var use_radio = '.(int)$use_radio.';
$(document).ready(function(){
buildTreeView();
});
</script>';
$html .= '
@@ -172,6 +174,7 @@ class HelperCore
';
$home_is_selected = false;
foreach($selected_cat AS $cat)
{
if (is_array($cat))