Roo/tree/TreeDragZone.js
authorAlan Knowles <alan@roojs.com>
Tue, 10 Jul 2012 07:28:41 +0000 (15:28 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 10 Jul 2012 07:28:41 +0000 (15:28 +0800)
Roo/tree/TreeDragZone.js

index e8adc40..46ac332 100644 (file)
@@ -57,8 +57,10 @@ Roo.extend(Roo.tree.TreeDragZone, Roo.dd.DragZone, {
     
     scrollAct: function()
     {
-        this.el.scroll(this.scroller, 5, true);
-        
+        if (this.scrollDir === false) {
+            return;
+        }
+        this.el.scroll(this.scrollDir, 5, true);
         
         
     }