Display tab on "Back to product"

This commit is contained in:
Michael RICOIS 2017-06-23 10:58:28 +02:00
parent a39fe023cd
commit 54af11247a
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ class AdminAntadisConfiguratorProductGroupController extends ModuleAdminControll
//Add back button to product //Add back button to product
$this->toolbar_btn = array(); $this->toolbar_btn = array();
$this->toolbar_btn['back'] = array( $this->toolbar_btn['back'] = array(
'href' => $this->context->link->getAdminLink('AdminProducts').'&updateproduct&id_product='.(int)$id_product, 'href' => $this->context->link->getAdminLink('AdminProducts').'&updateproduct&key_tab=ModuleAntadisconfigurator&id_product='.(int)$id_product,
'desc' => $this->l('Back to product', null, null, false) 'desc' => $this->l('Back to product', null, null, false)
); );

View File

@ -44,7 +44,7 @@ class AdminAntadisConfiguratorProductImpactController extends ModuleAdminControl
'desc' => $this->l('Back to product', null, null, false) 'desc' => $this->l('Back to product', null, null, false)
); );
$this->toolbar_btn['backGroup'] = array( $this->toolbar_btn['backGroup'] = array(
'href' => $this->context->link->getAdminLink('AdminAntadisConfiguratorProductGroup').'&id_product_configurator_opt_group='.(int)$id_product_configurator_opt_group, 'href' => $this->context->link->getAdminLink('AdminAntadisConfiguratorProductGroup').'&key_tab=ModuleAntadisconfigurator&id_product_configurator_opt_group='.(int)$id_product_configurator_opt_group,
'desc' => $this->l('Back to group', null, null, false) 'desc' => $this->l('Back to group', null, null, false)
); );