partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit f68b3e429443ad0c46bacdba4923e23e493f51b9
parent 7777aa810666e1281604f334ba934ac3e40895fa
Author: Felicitus <felicitus@felicitus.org>
Date:   Thu,  5 Jan 2012 17:18:44 +0100

Sencha decided to do some undocumented changes in ExtJS, which breaks pagination. Fixed.

Diffstat:
Msrc/frontend/js/Components/Part/PartFilterPanel.js | 1-
Msrc/frontend/js/Components/Part/PartsGrid.js | 1-
2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/frontend/js/Components/Part/PartFilterPanel.js b/src/frontend/js/Components/Part/PartFilterPanel.js @@ -70,7 +70,6 @@ Ext.define('PartKeepr.PartFilterPanel', { */ onApply: function () { this.applyFilterParameters(this.store.getProxy().extraParams); - this.store.getProxy().extraParams.start = 0; this.store.currentPage = 1; this.store.load({ start: 0}); }, diff --git a/src/frontend/js/Components/Part/PartsGrid.js b/src/frontend/js/Components/Part/PartsGrid.js @@ -223,7 +223,6 @@ Ext.define('PartKeepr.PartsGrid', { proxy.extraParams.category = category; this.searchField.onTrigger1Click(); - proxy.extraParams.start = 0; this.store.currentPage = 1; this.store.load({ start: 0}); },