projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6b094b0
)
Roo/bootstrap/Card.js
author
Alan Knowles
<alan@roojs.com>
Wed, 18 Nov 2020 04:43:59 +0000
(12:43 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 18 Nov 2020 04:43:59 +0000
(12:43 +0800)
Roo/bootstrap/Card.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Card.js
b/Roo/bootstrap/Card.js
index
618505e
..
90df3b8
100644
(file)
--- a/
Roo/bootstrap/Card.js
+++ b/
Roo/bootstrap/Card.js
@@
-254,10
+254,10
@@
Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component, {
cn : []
};
var obody = body;
cn : []
};
var obody = body;
- if (this.collapsable) {
+ if (this.collapsable
|| this.rotateable
) {
obody = {
tag: 'div',
obody = {
tag: 'div',
- cls : 'roo-collapsable collapse ' + (this.collapsed ? '' : 'show'),
+ cls : 'roo-collapsable collapse ' + (this.collapsed
|| this.rotated
? '' : 'show'),
cn : [ body ]
};
}
cn : [ body ]
};
}
@@
-296,7
+296,7
@@
Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component, {
if (this.footer.length) {
cfg.cn.push({
if (this.footer.length) {
cfg.cn.push({
- cls : 'card-footer
'
,
+ cls : 'card-footer
' + (this.rotated ? 'd-none' : '')
,
html : this.footer
});
html : this.footer
});