From 6223100a30eff30edb05e3822b8e00bda3184316 Mon Sep 17 00:00:00 2001 From: Edward Date: Tue, 25 Mar 2014 12:35:01 +0800 Subject: [PATCH] Roo/bootstrap/Header.js --- Roo/bootstrap/Header.js | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) 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; } -- 2.39.2