From 85388f19391aeb2d5ba87d36bbabace55ce842df Mon Sep 17 00:00:00 2001 From: Jens Mönig Date: Tue, 24 Feb 2015 06:47:12 +0100 Subject: fixed #725 --- history.txt | 4 ++++ 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 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) { -- cgit v1.3.1