From: Alan Knowles Date: Tue, 29 Apr 2014 11:39:54 +0000 (+0800) Subject: Roo/form/HtmlEditor/ToolbarStandard.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=6f8cf3c4a67baf054ee00156638174d37a168b93;p=roojs1 Roo/form/HtmlEditor/ToolbarStandard.js --- diff --git a/Roo/form/HtmlEditor/ToolbarStandard.js b/Roo/form/HtmlEditor/ToolbarStandard.js index 0c4fd60311..b430bd63e4 100644 --- a/Roo/form/HtmlEditor/ToolbarStandard.js +++ b/Roo/form/HtmlEditor/ToolbarStandard.js @@ -529,7 +529,7 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarStandard.prototype, { this.sourceEditMode = sourceEditMode === true; var btn = this.tb.items.get(this.editorcore.frameId +'-sourceedit'); // just toggle the button? - if(btn.pressed !== this.editorcore.sourceEditMode){ + if(btn.pressed !== this.sourceEditMode){ btn.toggle(this.editorcore.sourceEditMode); return; }