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

index ce9dff0..4d9e8bc 100644 (file)
@@ -92,6 +92,13 @@ Roo.extend(Roo.tree.TreeDragZone, Roo.dd.DragZone, {
     
     onEndDrag : function(data, e){
         this.tree.fireEvent("enddrag", this.tree, data.node, e);
+        if (this.scroller !== false) {
+            Roo.log('clear scroller');
+            window.clearInterval(this.scroller);
+            this.scroller =false;
+            
+        }
+        
     },
     
     onValidDrop : function(dd, e, id){