summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Mönig <jens@moenig.org>2015-02-24 06:47:12 +0100
committerJens Mönig <jens@moenig.org>2015-02-24 06:47:12 +0100
commit85388f19391aeb2d5ba87d36bbabace55ce842df (patch)
treea482b0c224433e80d95bfbcff4a1eb22034a35ed
parentd3758bd707b2d1153b9b0079ba225b6432460ce9 (diff)
downloadsnap-85388f19391aeb2d5ba87d36bbabace55ce842df.tar.gz
snap-85388f19391aeb2d5ba87d36bbabace55ce842df.zip
fixed #725
-rwxr-xr-xhistory.txt4
-rw-r--r--store.js8
2 files changed, 10 insertions, 2 deletions
diff --git a/history.txt b/history.txt
index c73e5ff..7b0b6e5 100755
--- a/history.txt
+++ b/history.txt
@@ -2447,3 +2447,7 @@ ______
* Blocks, Objects: Add user-interaction choices to the “When I am ...” hat block
* Update German translation
* Store: Avoid incompatibility warning for very old (pre-earmarked) projects
+
+150224
+------
+* Store: fixed #725
diff --git a/store.js b/store.js
index 8adf7f7..91ff40e 100644
--- a/store.js
+++ b/store.js
@@ -61,7 +61,7 @@ SyntaxElementMorph, Variable*/
// Global stuff ////////////////////////////////////////////////////////
-modules.store = '2015-February-23';
+modules.store = '2015-February-24';
// XML_Serializer ///////////////////////////////////////////////////////
@@ -977,7 +977,11 @@ SnapSerializer.prototype.loadBlock = function (model, isReporter) {
);
}
if (!receiver) {
- return this.obsoleteBlock(isReporter);
+ if (!isGlobal) {
+ receiver = this.project.stage;
+ } else {
+ return this.obsoleteBlock(isReporter);
+ }
}
if (isGlobal) {
info = detect(receiver.globalBlocks, function (block) {