details: /erp/devel/pi/rev/14155037e51d
changeset: 12137:14155037e51d
user: Martin Taal <martin.taal <at> openbravo.com>
date: Thu May 12 17:51:53 2011 +0200
summary: Fixes issue 17145: Column headers for alerts have shifted and are
now incorrect
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/alert-management/ob-alert-grid.js
| 5 +++++
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-grid.js
| 2 ++
2 files changed, 7 insertions(+), 0 deletions(-)
diffs (27 lines):
diff -r fa4d6a6b3d7d -r 14155037e51d
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/alert-management/ob-alert-grid.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/alert-management/ob-alert-grid.js
Thu May 12 17:36:54 2011 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/alert-management/ob-alert-grid.js
Thu May 12 17:51:53 2011 +0200
@@ -128,6 +128,11 @@
// open the first time.
this.setFields(this.gridFields);
this.setSelectionAppearance('checkbox');
+
+ // this extra call is needed to solve this issue:
+ https://issues.openbravo.com/view.php?id=17145
+ this.refreshFields();
+
this.sort('creationDate', 'descending');
this.fetchData();
diff -r fa4d6a6b3d7d -r 14155037e51d
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-grid.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-grid.js
Thu May 12 17:36:54 2011 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-grid.js
Thu May 12 17:51:53 2011 +0200
@@ -23,6 +23,8 @@
// grid implementations.
isc.OBGrid.addProperties({
+ dragTrackerMode: 'none',
+
recordComponentPoolingMode: 'recycle',
showRecordComponentsByCell: true,
recordComponentPosition: 'within',
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits