Fixes issue 18073 Reference field in Column tab (of table/column window) behaves strangely when filtering
authorMartin Taal <martin.taal@openbravo.com>
Sun, 24 Jul 2011 05:57:27 +0200
changeset 13258 da2bcbd5acc9
parent 13257 df0fc02d0865
child 13259 e36538c24d11
Fixes issue 18073 Reference field in Column tab (of table/column window) behaves strangely when filtering
Issue was caused by the fact that each keypress resulted in a change event, causing a redraw of the form
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	Sun Jul 24 05:55:51 2011 +0200
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-list.js	Sun Jul 24 05:57:27 2011 +0200
@@ -34,8 +34,9 @@
 
   // 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,
-
+  addUnknownValues: false,
+  changeOnKeyPress: false,
+  
   selectOnFocus: true,
   moveFocusOnPickValue: true,