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

index b430bd6..31aad14 100644 (file)
@@ -530,7 +530,7 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarStandard.prototype,  {
         var btn = this.tb.items.get(this.editorcore.frameId +'-sourceedit');
         // just toggle the button?
         if(btn.pressed !== this.sourceEditMode){
-            btn.toggle(this.editorcore.sourceEditMode);
+            btn.toggle(this.sourceEditMode);
             return;
         }