commit 302831192e05cd04396eb7bba0d8868f3f70138a
parent a73efdf19d1ffb284b908590ad60dd1e1e0aee67
Author: Felicitus <felicitus@felicitus.org>
Date: Tue, 6 Sep 2011 08:01:53 +0200
Bugfix for issue #95
Diffstat:
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/frontend/js/Components/Part/PartsGrid.js b/frontend/js/Components/Part/PartsGrid.js
@@ -43,6 +43,15 @@ Ext.define('PartKeepr.PartsGrid', {
this.addEvents("editPart");
+ // Bugfix for scroller becoming detached.
+ // @todo Remove with ExtJS 4.1
+ this.on('scrollershow', function(scroller) {
+ if (scroller && scroller.scrollEl) {
+ scroller.clearManagedListeners();
+ scroller.mon(scroller.scrollEl, 'scroll', scroller.onElScroll, scroller);
+ }
+ });
+
// Initialize the panel
this.callParent();