details:   /erp/devel/pi/rev/7646196524e9
changeset: 11590:7646196524e9
user:      Martin Taal <martin.taal <at> openbravo.com>
date:      Mon Apr 18 16:55:33 2011 +0200
summary:   Fixes issue 16498: First focus is not working in grid view

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-grid.js
 |  4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diffs (14 lines):

diff -r 3c404e4f4c33 -r 7646196524e9 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-grid.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-grid.js
  Mon Apr 18 16:06:13 2011 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-grid.js
  Mon Apr 18 16:55:33 2011 +0200
@@ -1636,10 +1636,6 @@
       // if the focus does not get suppressed then the clicked field will 
receive focus
       // and won't be disabled so the user can already start typing      
       suppressFocus = true;
-
-      if (!this.forceFocusColumn && (colNum || colNum === 0)) {
-        this.forceFocusColumn = this.getField(colNum).name;
-      }
     }
     
     var ret = this.Super('showInlineEditor', [rowNum, colNum, newCell, newRow, 
suppressFocus]);

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to