projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2b6cf5
)
Roo/bootstrap/Component.js
author
Edward
<edward@roojs.com>
Tue, 10 Jul 2018 04:53:27 +0000
(12:53 +0800)
committer
Edward
<edward@roojs.com>
Tue, 10 Jul 2018 04:53:27 +0000
(12:53 +0800)
Roo/bootstrap/Component.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Component.js
b/Roo/bootstrap/Component.js
index
a958872
..
f14cc2f
100644
(file)
--- a/
Roo/bootstrap/Component.js
+++ b/
Roo/bootstrap/Component.js
@@
-369,9
+369,12
@@
Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent, {
*/
show : function()
{
- if
(this.el)
{
-
this.el.removeClass('hidden')
;
+ if
(!this.getEl())
{
+
return
;
}
+
+ this.getEl().removeClass('hidden');
+
},
/**
* Hide a component - adds 'hidden' class