style: Fix formatting
This commit is contained in:
parent
4d10138acb
commit
3c7125a2eb
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
frappe.ui.form.ControlCurrency = frappe.ui.form.ControlFloat.extend({
|
||||
eval_expression: function(value) {
|
||||
if (typeof value ==='string'
|
||||
if (typeof value === 'string'
|
||||
&& value.match(/^[0-9+-/* ]+$/)
|
||||
// paresFloat('1,44,000') returns 1.0
|
||||
// 1,44,000 are being passed when we paste rows from excel sheet to a table
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue