Permalink
Browse files

fix layout container display issue

  • Loading branch information...
1 parent aad341d commit e995f8275c61e3fd836e44925870ed891f5cd8f4 @eric-wang committed Apr 20, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 controllers/Layout.js
View
@@ -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

eric-wang Apr 24, 2012

Owner

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

dstyle.set(c.domNode, "zIndex", 25);
dstyle.set(c.domNode, 'display', 'none');
}

0 comments on commit e995f82

Please sign in to comment.