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

index 3f8c777..f02309c 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: this, // was editor...
+                scope: _t, // was editor...
                 handler:handler||editorcore.relayBtnCmd,
                 clickEvent:'mousedown',
                 tooltip: etb.buttonTips[id] || undefined, ///tips ???