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

index 4eca2f2..d00fa3b 100644 (file)
@@ -583,7 +583,7 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarContext.prototype,  {
                     valueField :  'val',
                     typeAhead: false,
                     mode: 'local',
-                    editable : false,
+                    editable : typeof(item.editable) == 'undefined' ? false : item.editable,
                     triggerAction: 'all',
                     emptyText:'Select',
                     selectOnFocus:true,