projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d40a8d3
)
Roo/bootstrap/Component.js
author
Edward
<edward@roojs.com>
Tue, 10 Jul 2018 07:59:37 +0000
(15:59 +0800)
committer
Edward
<edward@roojs.com>
Tue, 10 Jul 2018 07:59:37 +0000
(15:59 +0800)
Roo/bootstrap/Component.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Component.js
b/Roo/bootstrap/Component.js
index
ed60511
..
a7d387b
100644
(file)
--- a/
Roo/bootstrap/Component.js
+++ b/
Roo/bootstrap/Component.js
@@
-373,7
+373,12
@@
Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent, {
return;
}
- this.getEl().removeClass('hidden');
+ if(!this.hideParent){
+ this.getEl().removeClass('hidden');
+ return;
+ }
+
+ this.parent().removeClass('hidden');
},
/**
@@
-385,7
+390,12
@@
Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent, {
return;
}
- this.getEl().addClass('hidden');
+ if(!this.hideParent){
+ this.getEl().addClass('hidden');
+ return;
+ }
+
+ this.parent().addClass('hidden');
}
});