details: https://code.openbravo.com/erp/devel/pi/rev/1ed6b457f117
changeset: 19397:1ed6b457f117
user: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
date: Wed Jan 23 12:48:23 2013 +0530
summary: Related to Issue 0022794 : Remove unnecessary code modifications
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 e8e00b1d96bb -r 1ed6b457f117
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 23 12:02:46 2013 +0530
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-number.js
Wed Jan 23 12:48:23 2013 +0530
@@ -88,7 +88,7 @@
var newCaretPosition = this.returnNewCaretPosition(this.getElementValue(),
oldCaretPosition);
// update the value shown, mapValueToDisplay will call the editFormatter
// get the edit value, without grouping symbol.
- var editValue =
OB.Utilities.Number.OBMaskedToOBPlain(this.getElementValue(),
OBMaskedToOBPlain);
+ var editValue =
OB.Utilities.Number.OBMaskedToOBPlain(this.getElementValue(),
this.getDecSeparator(), this.getGroupSeparator());
if (oldCaretPosition !== newCaretPosition || editValue !==
this.getElementValue()) {
this.setElementValue(editValue);
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits