[Layout] Fix view switcher in frame

Recognize choice from the view switcher in a frame
in a Layout and display that chosen view. WTD-535.
This commit is contained in:
Victor Woeltjen 2014-12-05 09:13:16 -08:00
parent f61eb143e7
commit b50f40f399
2 changed files with 3 additions and 4 deletions

View File

@ -13,7 +13,7 @@
</div>
</div>
<div class="abs object-holder">
<mct-representation key="switcher.key"
<mct-representation key="representation.selected.key"
mct-object="domainObject">
</mct-representation>
</div>

View File

@ -11,7 +11,8 @@
</mct-representation>
</div>
<span class="layout-drag-handles" ng-show="domainObject.hasCapability('editor')">
<!-- Drag handles -->
<span ng-show="domainObject.hasCapability('editor')">
<span style="position: absolute; left: 12px; right: 12px; top: 12px; bottom: 12px; cursor: move;"
mct-drag-down="controller.startDrag(childObject.getId(), [1,1], [0,0])"
mct-drag="controller.continueDrag(delta)"
@ -60,8 +61,6 @@
mct-drag="controller.continueDrag(delta)"
mct-drag-up="controller.endDrag()">
</span>
</span>
</div>