Roo/bootstrap/Header.js
authorAlan Knowles <alan@roojs.com>
Fri, 16 Oct 2015 02:36:31 +0000 (10:36 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 16 Oct 2015 02:36:31 +0000 (10:36 +0800)
Roo/bootstrap/Header.js

index ad7f99e..e1d02dc 100644 (file)
@@ -32,9 +32,11 @@ Roo.extend(Roo.bootstrap.Header, Roo.bootstrap.Component,  {
     
     getAutoCreate : function(){
         
+        
+        
         var cfg = {
             tag: 'h' + (1 *this.level),
-            html: this.html || 'fill in html'
+            html: this.html || (this.cn ? '' : 'fill in html')
         } ;
         
         return cfg;