From 6edd9706bc30335023a6da463449ce371f761a41 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 10 Jul 2012 18:21:23 +0800 Subject: [PATCH] Roo/tree/TreeDragZone.js --- Roo/tree/TreeDragZone.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Roo/tree/TreeDragZone.js b/Roo/tree/TreeDragZone.js index 0ca5e8c7fd..6914bac5f8 100644 --- a/Roo/tree/TreeDragZone.js +++ b/Roo/tree/TreeDragZone.js @@ -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 -- 2.39.2