This commit is contained in:
Mirco Wittrien 2019-11-08 10:27:53 +01:00
parent 5fe086b983
commit 9f29340e07
2 changed files with 3 additions and 2 deletions

View File

@ -6612,6 +6612,7 @@ var BDFDB = {
LibraryComponents.Popout = reactInitialized ? class BDFDB_Popout extends LibraryModules.React.Component { LibraryComponents.Popout = reactInitialized ? class BDFDB_Popout extends LibraryModules.React.Component {
componentWillUnmount() { componentWillUnmount() {
delete this.props.containerInstance.popout;
if (typeof this.props.onClose == "function") this.props.onClose(this.props.containerInstance, this); if (typeof this.props.onClose == "function") this.props.onClose(this.props.containerInstance, this);
} }
render() { render() {
@ -6636,7 +6637,7 @@ var BDFDB = {
LibraryComponents.PopoutContainer = reactInitialized ? class BDFDB_PopoutContainer extends LibraryModules.React.Component { LibraryComponents.PopoutContainer = reactInitialized ? class BDFDB_PopoutContainer extends LibraryModules.React.Component {
handleRender(e) { handleRender(e) {
return BDFDB.ReactUtils.createElement(LibraryComponents.Popout, BDFDB.ObjectUtils.exclude(Object.assign({}, this.props, { return this.popout = BDFDB.ReactUtils.createElement(LibraryComponents.Popout, BDFDB.ObjectUtils.exclude(Object.assign({}, this.props, {
className: this.props.popoutClassName, className: this.props.popoutClassName,
containerInstance: this, containerInstance: this,
isChild: true, isChild: true,

File diff suppressed because one or more lines are too long