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

index a0cb77a..f40d19b 100644 (file)
@@ -567,7 +567,7 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarContext.prototype,  {
             }));
         }
             
-        
+        var tbops = Roo.form.HtmlEditor.ToolbarContext.options;
         
         for (var i in tlist) {
             
@@ -576,6 +576,11 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarContext.prototype,  {
             
             
             
+            var opts = item.opts ? item.opts : false;
+            if (items.optname) {
+                opts = 
+                //code
+            }
             
             if (item.opts) {
                 // opts == pulldown..