details: https://code.openbravo.com/erp/devel/pi/rev/e15b8716607d
changeset: 18562:e15b8716607d
user: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
date: Mon Nov 19 16:18:00 2012 +0100
summary: Fixes Issue 0021882: Business partner selector fails with display
logic
When removing whole words through keyboard and typing new text, the cursor
position was before the first letter in selectors where display logic was
present.
So did a refreshDisplayValue to resolve the same.
diffstat:
modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
| 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diffs (14 lines):
diff -r 484381442489 -r e15b8716607d
modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
---
a/modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
Mon Nov 19 10:15:30 2012 +0100
+++
b/modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
Mon Nov 19 16:18:00 2012 +0100
@@ -407,6 +407,10 @@
if (!newValue) {
this.setValueFromRecord(null);
}
+ // Refreshing the display manually value because when we remove the whole
word
+ // and type a new value the cursor moved before the first letter
+ // when display logic is present. Refer
https://issues.openbravo.com/view.php?id=21882
+ this.refreshDisplayValue();
},
setPickListWidth: function () {
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits