Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix layout container display issue

  • Loading branch information...
commit e995f8275c61e3fd836e44925870ed891f5cd8f4 1 parent aad341d
@eric-wang authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 controllers/Layout.js
View
4 controllers/Layout.js
@@ -98,7 +98,9 @@ function(lang, declare, on, win, array, query, dstyle, dattr, dgeometry, registr
}
else{
array.forEach(children, function(c){
- if (c && c.domNode && c.region == "center") {
+ // fix layout container dispaly issue.
+ // only need to undisplay view
+ if(c && (c instanceof dojox.app.View) && c.domNode && c.region == "center"){
@eric-wang Owner

only dojox.app.View need to hidden un-select child

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
dstyle.set(c.domNode, "zIndex", 25);
dstyle.set(c.domNode, 'display', 'none');
}
Please sign in to comment.
Something went wrong with that request. Please try again.