[Layout] Disallow editing when not in edit mode

Disallow positioning and resizing of frames within a layout
when not in Edit mode. WTD-535.
This commit is contained in:
Victor Woeltjen 2014-12-05 09:07:58 -08:00
parent 04649d6d71
commit ffb9352da0

View File

@ -11,7 +11,7 @@
</mct-representation>
</div>
<span class="layout-drag-handles">
<span class="layout-drag-handles" 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)"