projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1418af
)
Roo/LayoutRegion.js
author
Alan Knowles
<alan@roojs.com>
Fri, 19 Jun 2015 08:26:37 +0000
(16:26 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 19 Jun 2015 08:26:37 +0000
(16:26 +0800)
Roo/LayoutRegion.js
patch
|
blob
|
history
diff --git
a/Roo/LayoutRegion.js
b/Roo/LayoutRegion.js
index
5dd3ed3
..
c0c55a8
100644
(file)
--- a/
Roo/LayoutRegion.js
+++ b/
Roo/LayoutRegion.js
@@
-442,8
+442,10
@@
Roo.extend(Roo.LayoutRegion, Roo.BasicLayoutRegion, {
* @param {Number/String/ContentPanel} panelId The panel's index, id or the panel itself
* @return {Roo.ContentPanel} The shown panel, or null if a panel could not be found from panelId
*/
- showPanel : function(panel){
- if(panel = this.getPanel(panel)){
+ showPanel : function(panel)
+ {
+ var panel = this.getPanel(panel);
+ if(panel){
if(this.tabs){
var tab = this.tabs.getTab(panel.getEl().id);
if(tab.isHidden()){