Roo/grid/GridView.js
authorAlan Knowles <alan@akbkhome.com>
Wed, 27 Oct 2010 05:19:12 +0000 (13:19 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 27 Oct 2010 05:19:12 +0000 (13:19 +0800)
Roo/grid/GridView.js

index cd0442f..d921357 100644 (file)
@@ -1306,8 +1306,8 @@ Roo.extend(Roo.grid.GridView, Roo.grid.AbstractGridView, {
         this.initElements();
         
         // a kludge to fix the random scolling effect in webkit
-        this.lockedWrap.on("scroll", function() {
-            this.lockedWrap.dom.scrollTop=0; // hopefully not recursive..
+        this.el.on("scroll", function() {
+            this.el.dom.scrollTop=0; // hopefully not recursive..
         },this);
 
         this.scroller.on("scroll", this.handleScroll, this);