details:   https://code.openbravo.com/erp/devel/pi/rev/215fbb471eaa
changeset: 15475:215fbb471eaa
user:      Augusto Mauch <augusto.mauch <at> openbravo.com>
date:      Tue Feb 14 16:15:19 2012 +0100
summary:   Related to issue 19730: Removes fix because a defect was detected

diffstat:

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

diffs (29 lines):

diff -r cdcbb0c7f479 -r 215fbb471eaa 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
  Tue Feb 14 15:10:03 2012 +0100
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
  Tue Feb 14 16:15:19 2012 +0100
@@ -128,7 +128,7 @@
       for (i = 0; i < length; i++) {
         item = items[i];
         // The first filterable item (editorType!=='StaticTextItem') should be 
focused
-        if (item.getCanFocus() && !item.isDisabled() && 
item.editorType!=='StaticTextItem') {
+        if (item.getCanFocus() && !item.isDisabled()) {
           this.focusInFilterEditor(item);
           return true;
         }
diff -r cdcbb0c7f479 -r 215fbb471eaa 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
     Tue Feb 14 15:10:03 2012 +0100
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
     Tue Feb 14 16:15:19 2012 +0100
@@ -500,12 +500,7 @@
 
       this.deleteSelectedParentRecordFilter(localState);
 
-      this.Super('setViewState', ['(' + isc.Comm.serialize(localState, false) 
+ ')']);
-      
-      // Focus on the first filterable item
-      if (this.view.isActiveView()) {
-        this.focusInFirstFilterEditor();  
-      }      
+      this.Super('setViewState', ['(' + isc.Comm.serialize(localState, false) 
+ ')']);     
     }
 
     if (localState.noFilterClause) {

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to