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

index 19eb371..059789b 100644 (file)
@@ -153,7 +153,7 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarStandard.prototype,  {
                 cmd : id,
                 cls : 'x-btn-icon x-edit-'+id,
                 enableToggle:toggle !== false,
-                scope: editorcore, // was editor...
+                scope: this, // was editor...
                 handler:handler||editorcore.relayBtnCmd,
                 clickEvent:'mousedown',
                 tooltip: etb.buttonTips[id] || undefined, ///tips ???