Update UiObject.js

This commit is contained in:
Luis Fernando Molina committed 2020-04-17 10:49:31 +02:00
1 parent 59d8634c30
commit baa1a2cfb1
1 file changed
+5 -1
+5 -1
View File
@@ -899,7 +899,11 @@ function newUiObject () {
thisObject.formulaEditor.deactivate()
}
if (thisObject.payload !== undefined && thisObject.isOnFocus === false && thisObject.payload.referenceParent !== undefined) {
if (thisObject.payload !== undefined &&
thisObject.isOnFocus === false &&
thisObject.payload.referenceParent !== undefined &&
thisObject.payload.referenceParent.payload !== undefined &&
thisObject.payload.referenceParent.payload.uiObject !== undefined) {
thisObject.payload.referenceParent.payload.uiObject.isShowing = false
}
}