From 082b55564478eb08e0dd40d23e924006da45a94d Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Fri, 16 Jan 2015 09:47:29 -0800 Subject: [PATCH] [Fixed Position] Persist drag positions Persist element positions after drag in fixed position view, WTD-615. --- platform/features/layout/res/templates/fixed.html | 2 +- platform/features/layout/src/FixedController.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/features/layout/res/templates/fixed.html b/platform/features/layout/res/templates/fixed.html index b7b99ec21c..b91f3e524b 100644 --- a/platform/features/layout/res/templates/fixed.html +++ b/platform/features/layout/res/templates/fixed.html @@ -19,7 +19,7 @@ {{childObject.getModel().name}}
- X{{controller.getValue(childObject.getId())}} + {{controller.getValue(childObject.getId())}}
diff --git a/platform/features/layout/src/FixedController.js b/platform/features/layout/src/FixedController.js index 70a1ecc170..6eb93e9fc2 100644 --- a/platform/features/layout/src/FixedController.js +++ b/platform/features/layout/src/FixedController.js @@ -95,7 +95,7 @@ define( ids = (model || {}).composition || []; // Pull panel positions from configuration - rawPositions = shallowCopy(configuration.panels || {}, ids); + rawPositions = shallowCopy(configuration.elements || {}, ids); // Clear prior computed positions positions = {};