IDEMPIERE-1320 problem reported with calculator and arithmetic separator ,

This commit is contained in:
Carlos Ruiz 2013-09-04 19:18:13 -05:00
parent 418a947486
commit f632c150f9
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ function Calc()
var value = calcText.value;
if (separator != '.')
{
var re = new RegExp("[" + separator + "]");
var re = new RegExp("[" + separator + "]", "g");
value = value.replace(re,'.');
}
var result = "" + eval(value);