[Fixed Position] Persist drag positions

Persist element positions after drag in fixed position view,
WTD-615.
This commit is contained in:
Victor Woeltjen
2015-01-16 09:47:29 -08:00
parent ec211a067a
commit 082b555644
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@
{{childObject.getModel().name}} {{childObject.getModel().name}}
</div> </div>
<div style="position: absolute; right: 0px; top: 0px; bottom: 0px; width: 50%; overflow: hidden;"> <div style="position: absolute; right: 0px; top: 0px; bottom: 0px; width: 50%; overflow: hidden;">
X{{controller.getValue(childObject.getId())}} {{controller.getValue(childObject.getId())}}
</div> </div>
<!-- Drag handles --> <!-- Drag handles -->

View File

@ -95,7 +95,7 @@ define(
ids = (model || {}).composition || []; ids = (model || {}).composition || [];
// Pull panel positions from configuration // Pull panel positions from configuration
rawPositions = shallowCopy(configuration.panels || {}, ids); rawPositions = shallowCopy(configuration.elements || {}, ids);
// Clear prior computed positions // Clear prior computed positions
positions = {}; positions = {};