Update ReferenceAttachDetach.js
This commit is contained in:
1 parent
1a346c1560
commit
1201e4876a
1 file changed
+5
-3
@@ -20,9 +20,11 @@ function newReferenceAttachDetach () {
|
||||
|
||||
function completeDetachment (node) {
|
||||
if (node.payload !== undefined !== undefined) {
|
||||
if (node.payload.referenceParent.payload !== undefined) {
|
||||
if (node.payload.referenceParent.payload.uiObject !== undefined) {
|
||||
node.payload.referenceParent.payload.uiObject.isShowing = false
|
||||
if (node.payload.referenceParent !== undefined) {
|
||||
if (node.payload.referenceParent.payload !== undefined) {
|
||||
if (node.payload.referenceParent.payload.uiObject !== undefined) {
|
||||
node.payload.referenceParent.payload.uiObject.isShowing = false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user