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

index 7e05298..1cc23bf 100644 (file)
@@ -559,6 +559,7 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarStandard.prototype,  {
         }
         
         if(sourceEditMode){
+            Roo.log("disabling buttons");
             this.tb.items.each(function(item){
                 if(item.cmd != 'sourceedit'){
                     item.disable();
@@ -566,6 +567,7 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarStandard.prototype,  {
             });
           
         }else{
+            Roo.log("enabling buttons");
             if(this.initialized){
                 this.tb.items.each(function(item){
                     item.enable();