details:   https://code.openbravo.com/erp/devel/pi/rev/41a04622702b
changeset: 13619:41a04622702b
user:      Javier Etxarri <javier.echarri <at> openbravo.com>
date:      Tue Aug 30 10:50:49 2011 +0200
summary:   issue 18034: the lines quantity to count will be configurable per 
window

diffstat:

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

diffs (22 lines):

diff -r 4cf7260180a6 -r 41a04622702b 
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 Aug 30 10:40:44 2011 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
     Tue Aug 30 10:50:49 2011 +0200
@@ -410,6 +410,7 @@
   },
   
   setView: function(view){
+    var dataPageSizeaux;
     this.view = view;
     this.editFormDefaults.view = view;
     if (this.view.standardWindow.viewState && 
this.view.standardWindow.viewState[this.view.tabId]) {
@@ -446,8 +447,8 @@
       }
     }
     //Modify the quantity of lines to count per Window
-    var dataPageSizeaux = 
OB.PropertyStore.get('dataPageSize',this.view.windowId);
-    this.dataPageSize = (dataPageSizeaux) ? +dataPageSizeaux : 100;
+    dataPageSizeaux = OB.PropertyStore.get('dataPageSize',this.view.windowId);
+    this.dataPageSize = dataPageSizeaux ? +dataPageSizeaux : 100;
   },
 
   show: function(){

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to