Skip to content

Commit

Permalink
Get !ExpandoPane working again after [23276] (refs #11816) and [23340…
Browse files Browse the repository at this point in the history
…] (refs #12078), !strict.

Reintroduced separate !ContentPane._layoutChildren() method since !ExpandoPane was referencing it and other classes might be theoretically referencing it too.
  • Loading branch information
wkeese committed Dec 14, 2010
1 parent 4064b1c commit 7a1b68b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion layout/ContentPane.js
Expand Up @@ -668,6 +668,12 @@ dojo.declare(
this._contentBox = dojo.contentBox(cn);
}

this._layoutChildren();

delete this._needLayout;
},

_layoutChildren: function(){
// Call _checkIfSingleChild() again in case app has manually mucked w/the content
// of the ContentPane (rather than changing it through the set("content", ...) API.
if(this.doLayout){
Expand All @@ -689,7 +695,6 @@ dojo.declare(
}
});
}
delete this._needLayout;
},

// EVENT's, should be overide-able
Expand Down

0 comments on commit 7a1b68b

Please sign in to comment.