Roo/bootstrap/Header.js
authorEdward <edward@roojs.com>
Tue, 25 Mar 2014 04:32:34 +0000 (12:32 +0800)
committerEdward <edward@roojs.com>
Tue, 25 Mar 2014 04:32:34 +0000 (12:32 +0800)
Roo/bootstrap/Header.js

index ad7f99e..f82159e 100644 (file)
@@ -33,10 +33,21 @@ Roo.extend(Roo.bootstrap.Header, Roo.bootstrap.Component,  {
     getAutoCreate : function(){
         
         var cfg = {
-            tag: 'h' + (1 *this.level),
-            html: this.html || 'fill in html'
-        } ;
-        
+          tag: 'div',
+          html: null,
+          cn: [
+                {
+                    tag: 'h' + (1 *this.level),
+                    html: this.html || 'fill in html'
+                }
+          ]
+        };
+//        
+//        var cfg = {
+//            tag: 'h' + (1 *this.level),
+//            html: this.html || 'fill in html'
+//        } ;
+//        
         return cfg;
     }