diff options
| author | Jens Mönig <jens@moenig.org> | 2015-02-24 06:47:12 +0100 |
|---|---|---|
| committer | Jens Mönig <jens@moenig.org> | 2015-02-24 06:47:12 +0100 |
| commit | 85388f19391aeb2d5ba87d36bbabace55ce842df (patch) | |
| tree | a482b0c224433e80d95bfbcff4a1eb22034a35ed | |
| parent | d3758bd707b2d1153b9b0079ba225b6432460ce9 (diff) | |
| download | snap-85388f19391aeb2d5ba87d36bbabace55ce842df.tar.gz snap-85388f19391aeb2d5ba87d36bbabace55ce842df.zip | |
fixed #725
| -rwxr-xr-x | history.txt | 4 | ||||
| -rw-r--r-- | store.js | 8 |
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 @@ -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) { |
