projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b589df7
)
Roo/bootstrap/Card.js
author
Alan Knowles
<alan@roojs.com>
Wed, 18 Nov 2020 04:50:50 +0000
(12:50 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 18 Nov 2020 04:50:50 +0000
(12:50 +0800)
Roo/bootstrap/Card.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Card.js
b/Roo/bootstrap/Card.js
index
5949dd5
..
152fea7
100644
(file)
--- a/
Roo/bootstrap/Card.js
+++ b/
Roo/bootstrap/Card.js
@@
-381,7
+381,7
@@
Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component, {
}
this.collapsableEl = this.el.select('.roo-collapsable').first();
this.footerEl = this.el.select('.card-footer').first();
}
this.collapsableEl = this.el.select('.roo-collapsable').first();
this.footerEl = this.el.select('.card-footer').first();
-
+ this.collapsableToggleEl = this.el.select('.roo-collapse-toggle');
},
getDragData : function(e)
{
},
getDragData : function(e)
{
@@
-608,12
+608,12
@@
Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component, {
{
if (this.collapsed) {
this.el.select('.roo-collapse-toggle').removeClass('collapsed');
{
if (this.collapsed) {
this.el.select('.roo-collapse-toggle').removeClass('collapsed');
- this.
el.select('.roo-collapsable')
.addClass('show');
+ this.
collapsableEl
.addClass('show');
this.collapsed = false;
return;
}
this.el.select('.roo-collapse-toggle').addClass('collapsed');
this.collapsed = false;
return;
}
this.el.select('.roo-collapse-toggle').addClass('collapsed');
- this.
el.select('.roo-collapsable')
.removeClass('show');
+ this.
collapsableEl
.removeClass('show');
this.collapsed = true;
this.collapsed = true;