projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebf4211
)
Roo/bootstrap/Header.js
author
Edward
<edward@roojs.com>
Tue, 25 Mar 2014 04:32:34 +0000
(12:32 +0800)
committer
Edward
<edward@roojs.com>
Tue, 25 Mar 2014 04:32:34 +0000
(12:32 +0800)
Roo/bootstrap/Header.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Header.js
b/Roo/bootstrap/Header.js
index
ad7f99e
..
f82159e
100644
(file)
--- a/
Roo/bootstrap/Header.js
+++ b/
Roo/bootstrap/Header.js
@@
-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;
}