From: Edward Date: Tue, 25 Mar 2014 04:35:01 +0000 (+0800) Subject: Roo/bootstrap/Header.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=6223100a30eff30edb05e3822b8e00bda3184316;p=roojs1 Roo/bootstrap/Header.js --- diff --git a/Roo/bootstrap/Header.js b/Roo/bootstrap/Header.js index f82159ec72..0f26b9e4fc 100644 --- a/Roo/bootstrap/Header.js +++ b/Roo/bootstrap/Header.js @@ -32,22 +32,22 @@ Roo.extend(Roo.bootstrap.Header, Roo.bootstrap.Component, { getAutoCreate : function(){ - var cfg = { - 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' -// } ; -// +// 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; }