Roo/form/HtmlEditor/ToolbarContext.js
authorAlan Knowles <alan@roojs.com>
Tue, 20 Aug 2013 08:37:18 +0000 (16:37 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 20 Aug 2013 08:37:18 +0000 (16:37 +0800)
Roo/form/HtmlEditor/ToolbarContext.js

index c33227e..d675626 100644 (file)
@@ -546,7 +546,7 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarContext.prototype,  {
                 selectOnFocus:true,
                 width: 130,
                 listeners : {
-                    'select': function(c, r, i) {
+                    'change': function(c, r, i) {
                         // initial support only for on class per el..
                         tb.selectedNode.className =  r ? r.get('val') : '';
                         editor.syncValue();