Update BDFDB.max.js

This commit is contained in:
Mirco Wittrien 2019-09-11 08:25:45 +02:00
parent 13bd80bf5b
commit 6c5d159100
1 changed files with 1 additions and 0 deletions

View File

@ -1641,6 +1641,7 @@ var BDFDB = {myPlugins: BDFDB && BDFDB.myPlugins ? BDFDB.myPlugins : {}, BDv2Api
BDFDB.WebModules.patch(module.prototype, 'render', BDFDB, {after: e => {
if (e.thisObject.props.BDFDBcontextMenu && e.thisObject.props.children && e.returnValue && e.returnValue.props) {
e.returnValue.props.children = e.thisObject.props.children;
delete e.thisObject.props.value;
delete e.thisObject.props.children;
delete e.thisObject.props.BDFDBcontextMenu;
}