From a2718204cd68a74925e1dff1892401dc9b275fff Mon Sep 17 00:00:00 2001 From: jmoenig Date: Tue, 8 Oct 2013 17:25:11 +0200 Subject: fixed #199 "can't delete reporter with attached comment via context menu" --- blocks.js | 5 +++-- history.txt | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/blocks.js b/blocks.js index 20e1e47..4af1ac2 100644 --- a/blocks.js +++ b/blocks.js @@ -155,7 +155,7 @@ DialogBoxMorph, BlockInputFragmentMorph, PrototypeHatBlockMorph*/ // Global stuff //////////////////////////////////////////////////////// -modules.blocks = '2013-September-30'; +modules.blocks = '2013-October-08'; var SyntaxElementMorph; var BlockMorph; @@ -3931,7 +3931,8 @@ ReporterBlockMorph.prototype.mouseClickLeft = function (pos) { // ReporterBlockMorph deleting ReporterBlockMorph.prototype.userDestroy = function () { - this.prepareToBeGrabbed(); // restore default slot of parent block + // make sure to restore default slot of parent block + this.prepareToBeGrabbed(this.world().hand); this.destroy(); }; diff --git a/history.txt b/history.txt index 135ee7f..9525554 100755 --- a/history.txt +++ b/history.txt @@ -1945,3 +1945,4 @@ ______ ------ * Lists: fixed type-issue for linked list indices (thanks, Nate, for reporting it!) * Threads, Objects: experimental MAP primitive reporter in lists category, visible in dev mode +* Blocks: fixed #199 (can't delete reporter with attached comment via context menu) -- cgit v1.3.1