projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2f87a4
)
Roo/bootstrap/Card.js
author
Alan Knowles
<alan@roojs.com>
Thu, 17 Sep 2020 05:26:10 +0000
(13:26 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 17 Sep 2020 05:26:10 +0000
(13:26 +0800)
Roo/bootstrap/Card.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Card.js
b/Roo/bootstrap/Card.js
index
6b71f1b
..
a445de1
100644
(file)
--- a/
Roo/bootstrap/Card.js
+++ b/
Roo/bootstrap/Card.js
@@
-102,6
+102,8
@@
Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component, {
cls += ' d' + (v.length ? '-' : '') + v + '-' + t['margin' + (v.length ? '_' : '') + v].length
}
});
+
+ // more generic support?
if (this.hidden) {
cls += ' d-none';
}
@@
-148,9
+150,7
@@
Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component, {
cfg.cls += this.layoutCls();
- if (this.hidden) {
- cfg.cls += ' hidden';
- }
+
if (this.alert && ["success","info","warning", "danger"].indexOf(this.alert) > -1) {