details: https://code.openbravo.com/erp/devel/pi/rev/a9fcfad12078
changeset: 13292:a9fcfad12078
user: Martin Taal <martin.taal <at> openbravo.com>
date: Wed Jul 27 06:04:45 2011 +0200
summary: Related to issue 18075: Automatic focus change shows only one
available option in combo boxes
Do not set addUnknownValues as this sometimes causes the picker to showup
Also removed selectOnFocus as this is now controlled on form level
diffstat:
modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
| 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (18 lines):
diff -r 71df089998c4 -r a9fcfad12078
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
Tue Jul 26 23:01:25 2011 +0200
+++
b/modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
Wed Jul 27 06:04:45 2011 +0200
@@ -277,11 +277,10 @@
hasPickList: true,
popupTextMatchStyle: 'startswith',
suggestionTextMatchStyle: 'startswith',
- selectOnFocus: true,
showOptionsFromDataSource: true,
- // setting this to false means that the change handler is called when picking
- // a value and not earlier
- addUnknownValues: false,
+ // Setting this to false results in the picklist to be shown
+ // on focus, specific SC logic
+ // addUnknownValues: false,
// ** {{{ selectorGridFields }}} **
// the definition of the columns in the popup window
------------------------------------------------------------------------------
Got Input? Slashdot Needs You.
Take our quick survey online. Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits