details:   /erp/devel/pi/rev/66638c109547
changeset: 11471:66638c109547
user:      Martin Taal <martin.taal <at> openbravo.com>
date:      Tue Apr 05 09:33:11 2011 +0200
summary:   Related to 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
 |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 2793bd38556a -r 66638c109547 
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
  Tue Apr 05 09:26:44 2011 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-grid.js
  Tue Apr 05 09:33:11 2011 +0200
@@ -1169,6 +1169,8 @@
       
       // if we were editing then a single click continue edit mode
       if (wasEditing) {
+        // set the focus in the clicked cell
+        this.forceFocusColumn = this.getField(fieldNum).name;        
         this.startEditing(recordNum, fieldNum);
       }
     }

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to