Roo/tree/TreeEditor.js
authorAlan Knowles <alan@roojs.com>
Wed, 2 Nov 2011 05:46:44 +0000 (13:46 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 2 Nov 2011 05:46:44 +0000 (13:46 +0800)
Roo/tree/TreeEditor.js

index bef2f76..feccee5 100644 (file)
@@ -99,6 +99,9 @@ Roo.extend(Roo.tree.TreeEditor, Roo.Editor, {
                 this.maxWidth,
                 (td.clientWidth > 20 ? td.clientWidth : td.offsetWidth) - Math.max(0, nd.offsetLeft-td.scrollLeft) - /*cushion*/5);
         this.setSize(w, '');
+        
+        return this.fireEvent('beforenodedit', this, this.editNode);
+        
     },
 
     // private