details:   /erp/devel/pi/rev/f81c0570cd7c
changeset: 10789:f81c0570cd7c
user:      Iván Perdomo <ivan.perdomo <at> openbravo.com>
date:      Fri Feb 18 14:13:16 2011 +0100
summary:   Fixes issue when picking a value using the mouse
- Related to issue https://www.pivotaltracker.com/story/show/9977685
- Notes:
  * This is a partial fix to the issue
        * Added a missing semicolon

diffstat:

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

diffs (25 lines):

diff -r 8e494e13e566 -r f81c0570cd7c 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-formitem-widgets.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-formitem-widgets.js
   Fri Feb 18 13:37:28 2011 +0100
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-formitem-widgets.js
   Fri Feb 18 14:13:16 2011 +0100
@@ -99,7 +99,7 @@
   }
   isc.OBSearchItem.openedWindow.close();
   isc.OBSearchItem.openSearchItem = null;
-}
+};
 }(this));
 
 isc.OBSearchItem.addProperties({
@@ -437,7 +437,11 @@
   completeOnTab: true,
   // setting this to false means that the change handler is called when picking
   // a value and not earlier
-  addUnknownValues: false,
+
+  // 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,
+
   selectOnFocus: true,
 
   pickListProperties: {

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to