Fix missing destruction of splitter children

This commit is contained in:
Nathan Gray 2014-02-13 18:28:53 +00:00
parent c7c7c09dec
commit c5d1cc8cd1

View File

@ -97,6 +97,8 @@ var et2_split = et2_DOMWidget.extend([et2_IResizeable],
// Destroy dynamic full-height
this.dynheight.free();
this._super.apply(this, arguments);
// Remove placeholder children
if(this._children.length == 0)
{