details:   https://code.openbravo.com/erp/devel/pi/rev/08f573d7fca6
changeset: 13275:08f573d7fca6
user:      Martin Taal <martin.taal <at> openbravo.com>
date:      Tue Jul 26 16:06:34 2011 +0200
summary:   Fixes issue 18075: Automatic focus change shows only one available 
option in combo boxes
The option addUnknowValues was set to false to prevent a red label in some 
cases, this caused the picklist to show up because of some SC internal logic

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-list.js
 |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r b4f549d970cf -r 08f573d7fca6 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-list.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-list.js
        Tue Jul 26 15:51:14 2011 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-list.js
        Tue Jul 26 16:06:34 2011 +0200
@@ -34,12 +34,14 @@
 
   // NOTE: Setting this property to false fixes the issue when using the mouse 
to pick a value
   // FIXME: Sometimes the field label gets a red color (a blink)
-  addUnknownValues: false,
+  // if set to false then the picklist is shown at focus:
+  // https://issues.openbravo.com/view.php?id=18075
+//  addUnknownValues: true,
   changeOnKeyPress: false,
   
   selectOnFocus: true,
   moveFocusOnPickValue: true,
-  
+   
   // is overridden to keep track that a value has been explicitly picked
   pickValue: function (value) {
     this._pickedValue = true;

------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to