details:   /erp/devel/pi/rev/e80c169f7195
changeset: 12440:e80c169f7195
user:      Martin Taal <martin.taal <at> openbravo.com>
date:      Wed May 25 18:46:54 2011 +0200
summary:   Fixes issue 17362: Small cosmetic issue: blank space above scrollbar

diffstat:

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

diffs (16 lines):

diff -r f55f3f6f2385 -r e80c169f7195 
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
  Wed May 25 18:27:45 2011 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-grid.js
  Wed May 25 18:46:54 2011 +0200
@@ -265,6 +265,12 @@
       }
     ];
 
+    if (this.showSortArrow === 'field') {
+      // solves https://issues.openbravo.com/view.php?id=17362
+      this.showSortArrow = isc.ListGrid.BOTH;
+      this.sorterDefaults = {};
+    }
+    
     this.contextMenu = this.getMenuConstructor().create({items: menuItems});
 
     var ret = this.Super('initWidget', arguments);

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to