From 7514b555c536d44cd99c57b5d13f781efdf6192d Mon Sep 17 00:00:00 2001 From: mBertholino Date: Wed, 18 Jan 2012 13:56:01 +0000 Subject: [PATCH] [-] BO : #PSTEST-474 : bug fixed git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12529 b9a71923-0436-4b27-9f14-aed3839534dd --- js/attributesBack.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/attributesBack.js b/js/attributesBack.js index d7938eb38..6798f5530 100644 --- a/js/attributesBack.js +++ b/js/attributesBack.js @@ -52,7 +52,7 @@ virtual_product_nb_days, is_shareable) getE('attribute_ean13').value = ean; getE('attribute_upc').value = upc; getE('attribute_wholesale_price').value = Math.abs(wholesale_price); - getE('attribute_price').value = Math.abs(price_impact); + getE('attribute_price').value = ps_round(Math.abs(price_impact), 2); getE('attribute_weight').value = Math.abs(weight_impact); getE('attribute_unity').value = Math.abs(unit_impact); if ($('#attribute_ecotax').length != 0)