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

index 01f9494..7e05298 100644 (file)
@@ -558,7 +558,7 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarStandard.prototype,  {
             return;
         }
         
-        if(this.editorcore.sourceEditMode){
+        if(sourceEditMode){
             this.tb.items.each(function(item){
                 if(item.cmd != 'sourceedit'){
                     item.disable();