diff options
| author | jmoenig <jens@moenig.org> | 2013-10-08 17:25:11 +0200 |
|---|---|---|
| committer | jmoenig <jens@moenig.org> | 2013-10-08 17:25:11 +0200 |
| commit | a2718204cd68a74925e1dff1892401dc9b275fff (patch) | |
| tree | 4f70aeaabc5986ac0d0db6f321a16e4497df0768 /blocks.js | |
| parent | 4d5dad807b629486aa0c4cbe5725a5bc1a61487d (diff) | |
| download | snap-yow-a2718204cd68a74925e1dff1892401dc9b275fff.tar.gz snap-yow-a2718204cd68a74925e1dff1892401dc9b275fff.zip | |
fixed #199
"can't delete reporter with attached comment via context menu"
Diffstat (limited to 'blocks.js')
| -rw-r--r-- | blocks.js | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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(); }; |
