// fixed js error related to #PSTEST-166
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11886 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
38ee53c222
commit
0500d8282a
1 file changed
+2
-2
+2
-2
@@ -70,8 +70,8 @@ function calcPriceTI()
|
|||||||
document.getElementById('finalPriceWithoutTax').innerHTML = (isNaN(priceTE) == true || priceTE < 0) ? '' :
|
document.getElementById('finalPriceWithoutTax').innerHTML = (isNaN(priceTE) == true || priceTE < 0) ? '' :
|
||||||
(ps_round(priceTE, 2) + getEcotaxTaxExcluded()).toFixed(2);
|
(ps_round(priceTE, 2) + getEcotaxTaxExcluded()).toFixed(2);
|
||||||
calcReduction();
|
calcReduction();
|
||||||
document.getElementById('priceTI').value = (parseFloat(document.getElementById('priceTI').value) + getEcotaxTaxIncluded()).toFixed(2);
|
$('#priceTI').value = (parseFloat($('#priceTI').val()) + getEcotaxTaxIncluded()).toFixed(2);
|
||||||
document.getElementById('finalPrice').innerHTML = parseFloat(document.getElementById('priceTI').value.toFixed(2));
|
$('#finalPrice').innerHTML = parseFloat($('#priceTI').val()).toFixed(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
function calcPriceTE()
|
function calcPriceTE()
|
||||||
|
|||||||
Reference in new issue
Block a user