Merge branch 'master' of github.com:webnotes/wnframework

This commit is contained in:
Rushabh Mehta 2013-01-28 14:22:03 +05:30
commit ea79edfb48

View file

@ -152,8 +152,7 @@ function flt(v, decimals) {
}
// strip groups (,)
var info = get_number_format_info();
if(info.group_sep==".") {
if(number_format_info.group_sep==".") {
v = v.replace(/\./g,'');
// sanitize decimal separator to .