[Browse] Simplify view switcher event ordering

Don't pass a domainObject instance into mct-representation
until a view for that specific domainObject is available;
this avoids ordering issues where a new domainObject is
passed briefly to controllers in represented views before
a  event is issued, which can result in undesired
behavior for views that need to manage resources (such as
the subscriptions used to support telemetry retrieved
from the WARP Server, WTD-644.
This commit is contained in:
Victor Woeltjen 2015-01-12 08:29:27 -08:00
parent d916111060
commit 7ed62babe3

View File

@ -23,7 +23,7 @@
<div class='object-holder abs vscroll'>
<mct-representation key="representation.selected.key"
mct-object="domainObject">
mct-object="representation.selected.key && domainObject">
</mct-representation>
</div>
</span>