// Remove dead code
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12440 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user