Roo/tree/TreeDropZone.js
authorAlan Knowles <alan@roojs.com>
Tue, 10 Jul 2012 09:34:40 +0000 (17:34 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 10 Jul 2012 09:34:40 +0000 (17:34 +0800)
Roo/tree/TreeDropZone.js

index 9d03216..751204c 100644 (file)
@@ -147,7 +147,7 @@ Roo.extend(Roo.tree.TreeDropZone, Roo.dd.DropZone, {
     },
     
     onNodeOut : function(n, dd, e, data){
-       
+        
         this.cancelExpand();
         this.removeDropIndicators(n);
     },
@@ -246,7 +246,17 @@ Roo.extend(Roo.tree.TreeDropZone, Roo.dd.DropZone, {
             data.node.ui.highlight();
         }
         this.hideProxy();
-    }    
+    } ,
+    
+    notifyOut :  function(dd, e, data)
+    {
+        this.fireEvent('out', dd, e, data);
+        if(this.overClass){
+            this.el.removeClass(this.overClass);
+        }
+        Roo.log("notify Out");
+    },
+    
 });
 
 }