// 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:
tDidierjean
2012-01-16 15:47:02 +00:00
parent 90b671a623
commit 1f88c60d2d
2 changed files with 0 additions and 7 deletions

View File

@@ -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();

View File

@@ -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');