roojs-bootstrap.js
authorEdward <edward@roojs.com>
Mon, 28 Apr 2014 11:03:49 +0000 (19:03 +0800)
committerEdward <edward@roojs.com>
Mon, 28 Apr 2014 11:03:49 +0000 (19:03 +0800)
roojs-bootstrap-debug.js

roojs-bootstrap-debug.js
roojs-bootstrap.js

index e7b0270..cb8a9e3 100644 (file)
@@ -11123,12 +11123,16 @@ Roo.extend(Roo.bootstrap.HtmlEditor, Roo.bootstrap.Component,  {
     
     getAutoCreate : function()
     {
-        var cfg = {
-            tag: "textarea",
-            cls: "form-control",
-            style:'width: ' + this.width + 'px;height: ' + this.height + 'px;',
-            autocomplete: "off"
-        }
+        var cfg = {};
+        
+        var toolbar = new Roo.bootstrap.ButtonGroup({
+            toolbar: true
+            cn: [
+                {
+                    
+                }
+            ]
+        });
         
         return cfg;
         
index 4035553..e5016c3 100644 (file)
@@ -253,4 +253,4 @@ Roo.bootstrap.Radio=function(A){Roo.bootstrap.Radio.superclass.constructor.call(
 E.cn.push(C);if(this.after){E.cn.push({tag:'span',cls:'input-group-addon',html:this.after});}};if(A==='left'&&this.fieldLabel.length){Roo.log("left and has label");B.cn=[{tag:'label','for':id,cls:'control-label col-md-'+this.labelWidth,html:this.fieldLabel},{cls:"col-md-"+(12-this.labelWidth),cn:[E]}];}else if(this.fieldLabel.length){Roo.log(" label");B.cn=[{tag:'label','for':id,cls:'control-label box-input-label',html:this.fieldLabel},E];}else {Roo.log(" no label && no align");B.cn=[E];};if(this.boxLabel){B.cn.push({tag:'span','for':id,cls:'box-label',html:this.boxLabel})}return B;},onClick:function(){this.setChecked(true);},setChecked:function(A,B){Roo.each(this.inputEl().up('form').select('input[name='+this.inputEl().dom.name+']',true).elements,function(v){v.checked=false;});this.checked=A;if(B!==true){this.fireEvent('check',this,A);}
 this.inputEl().dom.value=A?this.value:this.valueOff;},getGroupValue:function(){if(typeof(this.inputEl().up('form').child('input[name='+this.inputEl().dom.name+']:checked',true))=='undefined'){return '';}return this.inputEl().up('form').child('input[name='+this.inputEl().dom.name+']:checked',true).value;},getValue:function(){return this.getGroupValue();}});
 //Roo/bootstrap/HtmlEditor.js
-Roo.bootstrap.HtmlEditor=function(A){Roo.bootstrap.HtmlEditor.superclass.constructor.call(this,A);};Roo.extend(Roo.bootstrap.HtmlEditor,Roo.bootstrap.Component,{getAutoCreate:function(){var A={tag:"textarea",cls:"form-control",style:'width: '+this.width+'px;height: '+this.height+'px;',autocomplete:"off"};return A;}});
+Roo.bootstrap.HtmlEditor=function(A){Roo.bootstrap.HtmlEditor.superclass.constructor.call(this,A);};Roo.extend(Roo.bootstrap.HtmlEditor,Roo.bootstrap.Component,{getAutoCreate:function(){var A={};var B=new Roo.bootstrap.ButtonGroup({toolbar:truecn:[{}]});return A;}});