Roo/form/HtmlEditor/ToolbarContext.js
authorAlan Knowles <alan@roojs.com>
Tue, 29 Apr 2014 11:16:37 +0000 (19:16 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 29 Apr 2014 11:16:37 +0000 (19:16 +0800)
Roo/form/HtmlEditor/ToolbarContext.js

index e63e491..ca2f73a 100644 (file)
@@ -279,7 +279,7 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarContext.prototype,  {
         this.editorcore = editor.editorcore ? editor.editorcore : editor;
         var editorcore = this.editorcore;
         
-        var fid = editor.frameId;
+        var fid = editorcore.frameId;
         var etb = this;
         function btn(id, toggle, handler){
             var xid = fid + '-'+ id ;