details: https://code.openbravo.com/erp/devel/pi/rev/579d4957d42c
changeset: 15177:579d4957d42c
user: Javier Etxarri <javier.echarri <at> openbravo.com>
date: Mon Jan 23 16:43:22 2012 +0100
summary: issue 19341: number of Alerts do not match.
Changed the verification condition.
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/alert-management/ob-alert-grid.js
| 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 22f4fdf49596 -r 579d4957d42c
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
Mon Jan 23 15:37:29 2012 +0100
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/alert-management/ob-alert-grid.js
Mon Jan 23 16:43:22 2012 +0100
@@ -119,7 +119,7 @@
OB.Datasource.get('ADAlert', this, null, true);
- if (OB.AlertManager && OB.AlertManager.lastData.data){
+ if (OB.AlertManager && OB.AlertManager.lastData &&
isc.is.Array(OB.AlertManager.lastData.data)){
this.dataPageSize = OB.AlertManager.lastData.data.length;
}
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
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-dev2
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits