Roo/form/HtmlEditor/ToolbarContext.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 27 Mar 2012 03:55:10 +0000 (11:55 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 27 Mar 2012 03:55:10 +0000 (11:55 +0800)
Roo/form/HtmlEditor/ToolbarContext.js

index a2a0034..dddf36d 100644 (file)
@@ -440,7 +440,7 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarContext.prototype,  {
         tb.add(nm+ ":&nbsp;");
         
         // styles...
-        if (this.styles) {
+        if (this.styles || Roo.encode(this.styles) != '{}') {
             
             // this needs a multi-select checkbox...
             tb.addField( new Roo.form.ComboBox({