[Context] Communicate root object
Fix logic in determining which object is root, WTD-922.
This commit is contained in:
@@ -80,7 +80,8 @@ define(
|
||||
parentObject.getCapability('context');
|
||||
|
||||
return parentContext ?
|
||||
parentContext.getRoot() : domainObject;
|
||||
parentContext.getRoot() :
|
||||
(parentObject || domainObject);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user