"can't delete reporter with attached comment via context menu"
pull/3/merge
jmoenig 2013-10-08 17:25:11 +02:00
rodzic 4d5dad807b
commit a2718204cd
2 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -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();
};

Wyświetl plik

@ -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)