details:   https://code.openbravo.com/erp/devel/pi/rev/fb4d253fd479
changeset: 14790:fb4d253fd479
user:      Martin Taal <martin.taal <at> openbravo.com>
date:      Fri Dec 02 01:06:17 2011 +0100
summary:   Fixes issue 19222: Focus lost when changing the organization in any 
window
Related to issue 19212: The suggestion feature in the dropdowns is broken
Fixes issue 19211: Tab level does not change until third try
Fixes issue 19186: Dropdown remains open when tabbing out from selection

The code which was there prevented additional focus calls if the form item 
already
had focus (it seemed), but apparently firefox needs these extra focus calls to
really set the focus correctly.

diffstat:

 
modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js
 |  9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diffs (19 lines):

diff -r f40f4585f921 -r fb4d253fd479 
modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js
--- 
a/modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js
  Thu Dec 01 18:41:51 2011 +0100
+++ 
b/modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js
  Fri Dec 02 01:06:17 2011 +0100
@@ -452,15 +452,6 @@
       this._selectValue();
     }
   },
-  
-  // prevent to many calls to focus in item if there is already focus
-  _focusInItem: isc.FormItem.getPrototype().focusInItem,
-  focusInItem: function() {
-    if (this.hasFocus) {
-      return;
-    }
-    this._focusInItem();
-  },
 
   titleClick: function(form, item){
     item.focusInItem();

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to