projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5a8c6bc
)
Roo/bootstrap/Card.js
author
Alan Knowles
<alan@roojs.com>
Thu, 17 Sep 2020 06:09:15 +0000
(14:09 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 17 Sep 2020 06:09:15 +0000
(14:09 +0800)
Roo/bootstrap/Card.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Card.js
b/Roo/bootstrap/Card.js
index
08f1a95
..
ba847e3
100644
(file)
--- a/
Roo/bootstrap/Card.js
+++ b/
Roo/bootstrap/Card.js
@@
-91,7
+91,7
@@
Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component, {
title : '',
subtitle : '',
html : '',
-
+ footer: '',
childContainer : false,
@@
-186,7
+186,7
@@
Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component, {
cls : 'card-body',
cn : []
};
- cfg.push(body);
+ cfg.
cn.
push(body);
if (this.title.length) {
body.cn.push({
@@
-209,6
+209,12
@@
Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component, {
cls : 'roo-card-body-ctr'
});
+ if (this.html.length) {
+ body.cn.push({
+ tag: 'div',
+ html : this.html
+ });
+ }
// fixme ? handle objects?
if (this.footer.length) {
body.cn.push({