X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2FCRM%2FPrice%2FForm%2FCalculate.tpl;h=84d2c6673545d1b4419d2ab925c235c3976ccda5;hb=HEAD;hp=83d18e6a31cba009885f5a4832b59825cef99cb4;hpb=f377f10d244045a52b5891bdeedc823b3988bd7c;p=civicrm-core.git diff --git a/templates/CRM/Price/Form/Calculate.tpl b/templates/CRM/Price/Form/Calculate.tpl index 83d18e6a31..84d2c66735 100644 --- a/templates/CRM/Price/Form/Calculate.tpl +++ b/templates/CRM/Price/Form/Calculate.tpl @@ -1,8 +1,8 @@ {* +--------------------------------------------------------------------+ - | CiviCRM version 4.6 | + | CiviCRM version 4.7 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2014 | + | Copyright CiviCRM LLC (c) 2004-2015 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -167,7 +167,8 @@ cj("input,#priceset select,#priceset").each(function () { //calculation for text box. function calculateText( object ) { - var textval = parseFloat( cj(object).val() ); + //CRM-16034 - comma acts as decimal in price set text pricing + var textval = parseFloat( cj(object).val().replace(thousandMarker, '') ); eval( 'var option = '+ cj(object).attr('price') ); ele = option[0];