From f5c09af54e3493ca7e104b5a7ea3f5de742c2bac Mon Sep 17 00:00:00 2001 From: mMarinetti Date: Mon, 24 Oct 2011 07:35:23 +0000 Subject: [PATCH] // attributeBack.js some replacement getE() by $() git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9568 b9a71923-0436-4b27-9f14-aed3839534dd --- js/attributesBack.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/attributesBack.js b/js/attributesBack.js index 36ac1ad1e..4801178d0 100644 --- a/js/attributesBack.js +++ b/js/attributesBack.js @@ -247,13 +247,13 @@ function init_elems() try { if (impact.options[impact.selectedIndex].value == 0) - getE('span_impact').style.display = 'none'; + $('#span_impact').hide(); if (impact2.options[impact.selectedIndex].value == 0) getE('span_weight_impact').style.display = 'none'; } catch (e) { - getE('span_impact').style.display = 'none'; + $('#span_impact').hide(); getE('span_weight_impact').style.display = 'none'; } }