Roo/form/HtmlEditor/ToolbarContext.js
authorAlan Knowles <alan@roojs.com>
Wed, 31 Aug 2011 04:37:28 +0000 (12:37 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 31 Aug 2011 04:37:28 +0000 (12:37 +0800)
Roo/form/HtmlEditor/ToolbarContext.js

index e36d50c..34083c8 100644 (file)
@@ -313,7 +313,7 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarContext.prototype,  {
             st.removeAll();
             var cn = sel.className.split(/\s+/);
             var avs = [];
-            if (this.styles['*'])) {
+            if (this.styles['*']) {
                 
                 this.styles['*'].each(function(v) {
                     avs.push( [ v , cn.indexOf(v) > -1 ? 1 : 0 ] );