details:   https://code.openbravo.com/erp/devel/pi/rev/22f4fdf49596
changeset: 15176:22f4fdf49596
user:      Javier Etxarri <javier.echarri <at> openbravo.com>
date:      Mon Jan 23 15:37:29 2012 +0100
summary:   Fixes issue 19341: The number of Alerts on the menu and Alert 
Management window do not match.
Now the number of records to display, is the alerts quantity for status.

diffstat:

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

diffs (14 lines):

diff -r 691dad1d6099 -r 22f4fdf49596 
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 13:13:01 2012 +0100
+++ 
b/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
@@ -119,6 +119,10 @@
     
     OB.Datasource.get('ADAlert', this, null, true);
     
+    if (OB.AlertManager && OB.AlertManager.lastData.data){
+        this.dataPageSize = OB.AlertManager.lastData.data.length;
+    }
+
     this.Super('initWidget', arguments);
   },
   

------------------------------------------------------------------------------
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

Reply via email to