projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ead846
)
Roo/bootstrap/Card.js
author
Alan Knowles
<alan@roojs.com>
Thu, 17 Sep 2020 05:41:40 +0000
(13:41 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 17 Sep 2020 05:41:40 +0000
(13:41 +0800)
Roo/bootstrap/Card.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Card.js
b/Roo/bootstrap/Card.js
index
bd6467c
..
e894660
100644
(file)
--- a/
Roo/bootstrap/Card.js
+++ b/
Roo/bootstrap/Card.js
@@
-90,6
+90,9
@@
Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component, {
title : '',
subtitle : '',
html : '',
+
+
+ childContainer : false,
layoutCls : function()
{
@@
-198,8
+201,24
@@
Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component, {
});
}
-
+ body.cn.push({
+ tag : 'div',
+ cls : 'roo-card-body-ctr'
+ });
+
+ // fixme ? handle objects?
+ if (this.footer.length) {
+ body.cn.push({
+ tag : 'div',
+ cls : 'card-footer',
+ html: this.footer // escape?
+ });
+ }
+ // footer...
return cfg;
},
+
+
+
}
\ No newline at end of file