Roo/form/HtmlEditor/ToolbarContext.js
authorAlan Knowles <alan@roojs.com>
Tue, 20 Aug 2013 04:58:03 +0000 (12:58 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 20 Aug 2013 04:58:03 +0000 (12:58 +0800)
Roo/form/HtmlEditor/ToolbarContext.js

index 776d18b..9cf4b73 100644 (file)
@@ -374,9 +374,8 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarContext.prototype,  {
                 this.tb.fields.each(function(e) {
                     if (e.stylename) {
                         e.setValue(sel.style[e.stylename]);
-                    }
-                    
-                    
+                        return;
+                    } 
                    e.setValue(sel.getAttribute(e.attrname));
                 });
             }