Roo/form/HtmlEditor.js
authorEdward <edward@roojs.com>
Wed, 7 May 2014 08:45:32 +0000 (16:45 +0800)
committerEdward <edward@roojs.com>
Wed, 7 May 2014 08:45:32 +0000 (16:45 +0800)
Roo/form/HtmlEditor.js

index 05028ad..0b51ec3 100644 (file)
@@ -71,7 +71,7 @@ Roo.extend(Roo.form.HtmlEditor, Roo.form.Field, {
     initialized : false,
     activated : false,
     
-    onFocus : Roo.emptyFn,
+//    onFocus : Roo.emptyFn,
     iframePad:3,
     hideMode:'offsets',
     
@@ -367,6 +367,13 @@ Roo.extend(Roo.form.HtmlEditor, Roo.form.Field, {
         
     },
     
+    // private
+    onFocus : function(){
+        //Roo.log("onFocus");
+        this.editorcore.onFocus();
+         
+    },
+    
     // private
     syncValue : function()
     {