Update ReferenceAttachDetach.js
This commit is contained in:
1 parent
7db8445d71
commit
1a346c1560
1 file changed
+6
-2
@@ -19,8 +19,12 @@ function newReferenceAttachDetach () {
|
||||
}
|
||||
|
||||
function completeDetachment (node) {
|
||||
if (node.payload !== undefined && node.payload.referenceParent.payload !== undefined && node.payload.referenceParent.payload.uiObject !== undefined) {
|
||||
node.payload.referenceParent.payload.uiObject.isShowing = false
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
node.payload.referenceParent = undefined
|
||||
|
||||
Reference in new issue
Block a user