projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d98af90
)
Roo/bootstrap/Container.js
author
edward
<edward@roojs.com>
Fri, 4 Dec 2015 05:00:33 +0000
(13:00 +0800)
committer
edward
<edward@roojs.com>
Fri, 4 Dec 2015 05:00:33 +0000
(13:00 +0800)
Roo/bootstrap/Container.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Container.js
b/Roo/bootstrap/Container.js
index
f5287e8
..
bf3a6af
100644
(file)
--- a/
Roo/bootstrap/Container.js
+++ b/
Roo/bootstrap/Container.js
@@
-194,10
+194,17
@@
Roo.extend(Roo.bootstrap.Container, Roo.bootstrap.Component, {
return;
}
- this.el.select('.panel-heading .fa',true).first().on('click', this.onToggle, this);
+ this.el.select('.panel-heading .fa',true).first().on('click', this.onToggle
Click
, this);
},
-
+ function toggleEl : function()
+ {
+ if(!this.el || !this.panel.length || !this.header.length || !this.expandable){
+ return;
+ }
+
+ return this.el.select('.panel-heading .fa',true).first();
+ }
titleEl : function()
{