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

index 46ac332..a6613d3 100644 (file)
@@ -31,7 +31,8 @@ Roo.extend(Roo.tree.TreeDragZone, Roo.dd.DragZone, {
         
         // if it's gone off top and bottom, start the scroller
         
-        
+        this.scrollDir = 't';
+        this.scroller = window.se
         Roo.log('ondragout');
         Roo.log(this.el.dom);
         
@@ -42,7 +43,7 @@ Roo.extend(Roo.tree.TreeDragZone, Roo.dd.DragZone, {
         var ret = Roo.tree.TreeDragZone.superclass.constructor.prototype.onDragEnter.call(this, e, id);
         
         if (this.scroller !== false) {
-            window.clearTimeout(this.scroller);
+            window.clearInterval(this.scroller);
             this.scroller =false;
             
         }