[Edit] Get to true root from EditPanesController
Part of refactoring to hide objects outside of Edit mode from the Create menus in Edit mode, WTD-922.
This commit is contained in:
@@ -16,7 +16,7 @@ define(
|
||||
function updateRoot(domainObject) {
|
||||
var context = domainObject &&
|
||||
domainObject.getCapability('context'),
|
||||
newRoot = context && context.getRealRoot(),
|
||||
newRoot = context && context.getTrueRoot(),
|
||||
oldId = root && root.getId(),
|
||||
newId = newRoot && newRoot.getId();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user