projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #9769 from scardinius/crm-19958
[civicrm-core.git]
/
templates
/
CRM
/
Price
/
Form
/
Calculate.tpl
diff --git
a/templates/CRM/Price/Form/Calculate.tpl
b/templates/CRM/Price/Form/Calculate.tpl
index 85c46bccb408390164cb4d49f03e5174df68d739..5408df48c6525571a2d3da2fe679fd245ffd6177 100644
(file)
--- a/
templates/CRM/Price/Form/Calculate.tpl
+++ b/
templates/CRM/Price/Form/Calculate.tpl
@@
-150,7
+150,8
@@
function calculateSelectLineItemValue(priceElement) {
*/
function calculateText(priceElement) {
//CRM-16034 - comma acts as decimal in price set text pricing
*/
function calculateText(priceElement) {
//CRM-16034 - comma acts as decimal in price set text pricing
- var textval = parseFloat(cj(priceElement).val().replace(thousandMarker, ''));
+ //CRM-19937 - dollar sign easy mistake to make by users.
+ var textval = parseFloat(cj(priceElement).val().replace(thousandMarker, '').replace(symbol, ''));
if (isNaN(textval)) {
textval = parseFloat(0);
if (isNaN(textval)) {
textval = parseFloat(0);