// Remove dead code

This commit is contained in:
tDidierjean
2012-01-16 15:47:02 +00:00
parent 1db9b9428b
commit 2f39ef0824
2 changed files with 0 additions and 7 deletions
@@ -224,10 +224,6 @@
$(".productTabs a.selected").click();
{if $show_product_tab_content}
$("div.productTabs a[id$=-{$show_product_tab_content}]").click();
{/if}
// disable save if Associations tab is not loaded
if ($('#product-tab-content-Associations').hasClass('not-loaded'))
disableSave();
@@ -1823,9 +1823,6 @@ class AdminProductsControllerCore extends AdminController
public function initContent($token = null)
{
// this is made to "save and stay" feature
$this->tpl_form_vars['show_product_tab_content'] = Tools::getValue('action');
if ($this->display == 'edit' || $this->display == 'add')
{
$this->addJS(_PS_JS_DIR_.'admin-products.js');