projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3519635
)
Roo/bootstrap/Container.js
author
edward
<edward@roojs.com>
Fri, 4 Dec 2015 04:26:48 +0000
(12:26 +0800)
committer
edward
<edward@roojs.com>
Fri, 4 Dec 2015 04:26:48 +0000
(12:26 +0800)
Roo/bootstrap/Container.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Container.js
b/Roo/bootstrap/Container.js
index
7177dcb
..
e2d9248
100644
(file)
--- a/
Roo/bootstrap/Container.js
+++ b/
Roo/bootstrap/Container.js
@@
-121,16
+121,22
@@
Roo.extend(Roo.bootstrap.Container, Roo.bootstrap.Component, {
cfg.cn = [];
if (this.header.length) {
cfg.cn.push({
+
cls : 'panel-heading',
- cn : [
- {
- tag: 'h3',
- cls : 'panel-title',
- html : this.header
- }
- ]
+ cn : []
});
+ if(this.expandable){
+ cfg.cn.cn.push({
+ tag: 'i',
+ cls: 'fa fa-minus'
+ });
+ }
+
+ cfg.cn.cn.push({
+ tag: 'i',
+ cls: 'fa fa-minus'
+ });
}
body = false;
cfg.cn.push({