fixed missing close paranthesis on transplant of changeset 39b9171de017
authorRM packaging bot <staff.rm@openbravo.com>
Tue, 03 Feb 2015 12:56:57 +0000
changeset 24126 80ea36768a2b
parent 24125 38100ff86b5a
child 24127 e53a7d3c1a4e
fixed missing close paranthesis on transplant of changeset 39b9171de017
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-number.js
--- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-number.js	Wed Jan 28 09:31:53 2015 +0100
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-number.js	Tue Feb 03 12:56:57 2015 +0000
@@ -438,7 +438,7 @@
         value = OB.Utilities.Number.OBPlainToOBMasked(this.getValue(), this.typeInstance.maskNumeric, this.typeInstance.decSeparator, this.typeInstance.groupSeparator, OB.Format.defaultGroupingSize);
       } else {
         value = this.getValue();
-	isFormula = true;
+        isFormula = true;
       }
       this.setValue(OB.Utilities.Number.OBMaskedToJS(value, this.typeInstance.decSeparator, this.typeInstance.groupSeparator));
       if (this.form.setTextualValue) {
@@ -447,6 +447,7 @@
     } else {
       value = this.roundJsNumberUsingTypeInstance(this.getValue(), this.typeInstance);
       this.setValue(value);
+    }
 
     if (this.grid && this.grid.isEditing && this.grid.isEditing()) {
       this.grid.setEditValue(this.grid.getEditRow(), this.name, this.getValue(), true, true);