roojs-ui-debug.js
authorEdward <edward@roojs.com>
Wed, 7 May 2014 09:24:11 +0000 (17:24 +0800)
committerEdward <edward@roojs.com>
Wed, 7 May 2014 09:24:11 +0000 (17:24 +0800)
roojs-ui-debug.js

index 398de31..d42fbef 100644 (file)
@@ -24962,7 +24962,7 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component,  {
         this.owner.fireEvent('initialize', this);
         this.pushValue();
         
-        Roo.log(this);
+        this.win.on('focus', this.owner.onFocus, this);
         
     },
 
@@ -25856,7 +25856,7 @@ Roo.extend(Roo.form.HtmlEditor, Roo.form.Field, {
     initialized : false,
     activated : false,
     
-    onFocus : Roo.emptyFn,
+//    onFocus : Roo.emptyFn,
     iframePad:3,
     hideMode:'offsets',
     
@@ -25939,6 +25939,10 @@ Roo.extend(Roo.form.HtmlEditor, Roo.form.Field, {
         };
     },
 
+    onFocus : function()
+    {
+        Roo.log('onFocus!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1');
+    }
     /**
      * Protected method that will not generally be called directly. It
      * is called when the editor creates its toolbar. Override this method if you need to