diff --git a/etemplate/js/et2_widget_split.js b/etemplate/js/et2_widget_split.js index bf090ceea6..9200520aa3 100644 --- a/etemplate/js/et2_widget_split.js +++ b/etemplate/js/et2_widget_split.js @@ -71,7 +71,10 @@ var et2_split = et2_DOMWidget.extend([et2_IResizeable], // Create the dynheight component which dynamically scales the inner // container. - this.dynheight = new et2_dynheight(this.egw().window,this.div, 100); + this.dynheight = new et2_dynheight( + this.getParent().getDOMNode() || this.getInstanceManager().DOMContainer, + this.div, 100 + ); // Add something so we can see it - will be replaced if there's children this.left = $j("