Roo/bootstrap/Element.js
authorJulian Knowles <julian@roojs.com>
Fri, 24 Jan 2014 08:23:34 +0000 (16:23 +0800)
committerJulian Knowles <julian@roojs.com>
Fri, 24 Jan 2014 08:23:34 +0000 (16:23 +0800)
Roo/bootstrap/Element.js

index bef3644..ddcb34c 100644 (file)
@@ -24,13 +24,17 @@ Roo.extend(Roo.bootstrap.Element, Roo.bootstrap.Component,  {
     
     tag: 'div',
     cls: '',
+    html: '',
+    
     
     
     getAutoCreate : function(){
         var cfg = Roo.apply({}, Roo.bootstrap.Element.superclass.getAutoCreate.call(this));
        
        cfg = {
-           tag: this.tag
+           tag: this.tag,
+            cls: this.cls,
+            html: this.html
        }
        
         return cfg;