summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhistory.txt4
-rw-r--r--store.js6
2 files changed, 9 insertions, 1 deletions
diff --git a/history.txt b/history.txt
index f1baa92..ff38bfb 100755
--- a/history.txt
+++ b/history.txt
@@ -2386,3 +2386,7 @@ ______
141205
------
* Morphic: Avoid auto-scaling artefacts in Safari on retina displays (resulting in “traces” when dragging items)
+
+141206
+------
+* Store: Fixed #668
diff --git a/store.js b/store.js
index 3568809..7b2b7e1 100644
--- a/store.js
+++ b/store.js
@@ -61,7 +61,7 @@ SyntaxElementMorph, Variable*/
// Global stuff ////////////////////////////////////////////////////////
-modules.store = '2014-November-24';
+modules.store = '2014-December-06';
// XML_Serializer ///////////////////////////////////////////////////////
@@ -1201,6 +1201,10 @@ SnapSerializer.prototype.loadValue = function (model) {
if (el) {
v.outerContext = this.loadValue(el);
}
+ if (v.outerContext && v.receiver &&
+ !v.outerContext.variables.parentFrame) {
+ v.outerContext.variables.parentFrame = v.receiver.variables;
+ }
return v;
case 'costume':
center = new Point();