Related with issue 25811: Fixes casing typo in variable name
authorAugusto Mauch <augusto.mauch@openbravo.com>
Mon, 17 Nov 2014 14:20:00 +0100
changeset 25280 9dd246d95bc5
parent 25279 5c8dd0e358f2
child 25281 64e842ab60fe
Related with issue 25811: Fixes casing typo in variable name
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	Fri Nov 14 14:07:04 2014 +0100
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js	Mon Nov 17 14:20:00 2014 +0100
@@ -210,7 +210,7 @@
         // if the grid was refreshed with a record selected, use the range that contained that record 
         //  instead of using targetRecordId to improve the performance
         startRow = this.grid.selectedRecordInitInterval;
-        endRow = this.grid.selectedRecordendInterval;
+        endRow = this.grid.selectedRecordEndInterval;
         this.grid.preventRedraw = true;
       } else if (this.grid.refreshingWithScrolledGrid && startRow > 0) {
         this.grid.preventRedraw = true;
@@ -1724,7 +1724,7 @@
         if (this.selectedRecordInitInterval < 0) {
           this.selectedRecordInitInterval = 0;
         }
-        this.selectedRecordendInterval = this.selectedRecordInitInterval + this.data.resultSize;
+        this.selectedRecordEndInterval = this.selectedRecordInitInterval + this.data.resultSize;
       }
       this.notRemoveFilter = true;
     } else {
@@ -1776,7 +1776,7 @@
       delete me.refreshingWithScrolledGrid;
       delete me.preventRedraw;
       delete me.selectedRecordInitInterval;
-      delete me.selectedRecordendInterval;
+      delete me.selectedRecordEndInterval;
       delete me.selectedRecordId;
     };
     this.filterData(criteria, filterDataCallback, context);