Roo/tree/TreeDragZone.js
authorAlan Knowles <alan@roojs.com>
Tue, 10 Jul 2012 10:21:23 +0000 (18:21 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 10 Jul 2012 10:21:23 +0000 (18:21 +0800)
Roo/tree/TreeDragZone.js

index 0ca5e8c..6914bac 100644 (file)
@@ -99,12 +99,12 @@ Roo.extend(Roo.tree.TreeDragZone, Roo.dd.DragZone, {
             // How many pixels to scroll per autoscroll op.  This helps to reduce
             // clunky scrolling. IE is more sensitive about this ... it needs this
             // value to be higher.
-            var scrAmt = (document.all) ? 80 : 30;
+            var scrAmt = 80; //(document.all) ? 80 : 30;
 
             // Scroll down if we are near the bottom of the visible page and the
             // obj extends below the crease
             if ( bot > clientH && toBot < thresh ) {
-                this.el.scrollTo(sl, st + scrAmt);
+                this.el.scrollTo('d', sl, st + scrAmt);
             }
 
             // Scroll up if the window is scrolled down and the top of the object