[Context] Communicate root object

Fix logic in determining which object is root, WTD-922.
This commit is contained in:
Victor Woeltjen 2015-03-18 10:51:11 -07:00
parent c7149437fc
commit ab8215cd17

View File

@ -80,7 +80,8 @@ define(
parentObject.getCapability('context');
return parentContext ?
parentContext.getRoot() : domainObject;
parentContext.getRoot() :
(parentObject || domainObject);
}
};
}