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

index f40d19b..e9b4d67 100644 (file)
@@ -578,11 +578,11 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarContext.prototype,  {
             
             var opts = item.opts ? item.opts : false;
             if (items.optname) {
-                opts = 
+                opts = tbops[items.optname];
                 //code
             }
             
-            if (item.opts) {
+            if (opts) {
                 // opts == pulldown..
                 tb.addField( new Roo.form.ComboBox({
                     store: new Roo.data.SimpleStore({