projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
735ed8a
)
Roo/bootstrap/Card.js
author
Alan Knowles
<alan@roojs.com>
Mon, 16 Nov 2020 03:26:34 +0000
(11:26 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 16 Nov 2020 03:26:34 +0000
(11:26 +0800)
Roo/bootstrap/Card.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Card.js
b/Roo/bootstrap/Card.js
index
c0b03f4
..
d8e7fc9
100644
(file)
--- a/
Roo/bootstrap/Card.js
+++ b/
Roo/bootstrap/Card.js
@@
-225,16
+225,16
@@
Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component, {
cls : 'card-body',
cn : []
};
-
+ var obody = body;
if (this.collapsable) {
- body = {
+
o
body = {
tag: 'div',
cls : 'roo-collapsable collapse ' + (this.collapsed ? '' : 'show'),
cn : [ body ]
};
}
- cfg.cn.push(body);
+ cfg.cn.push(
o
body);
if (this.title.length) {
body.cn.push({