details: https://code.openbravo.com/erp/devel/pi/rev/4cbd0d375833
changeset: 22347:4cbd0d375833
user: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
date: Wed Mar 05 16:43:33 2014 +0530
summary: Related to Issue 25517 : Code refactor
using local variable value instead of using getValue.
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-number.js
| 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r b80b24804395 -r 4cbd0d375833
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 Mar 05 14:14:21 2014 +0530
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-number.js
Wed Mar 05 16:43:33 2014 +0530
@@ -467,7 +467,7 @@
// first check if the number is valid
if (!isc.isA.String(value)) {
// format the value to be displayed.
- value = OB.Utilities.Number.OBPlainToOBMasked(this.getValue(),
this.typeInstance.maskNumeric, this.typeInstance.decSeparator,
this.typeInstance.groupSeparator);
+ value = OB.Utilities.Number.OBPlainToOBMasked(value,
this.typeInstance.maskNumeric, this.typeInstance.decSeparator,
this.typeInstance.groupSeparator);
this.setElementValue(this.mapValueToDisplay(value));
}
}
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries. Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits