summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--blocks.js7
-rwxr-xr-xhistory.txt4
2 files changed, 10 insertions, 1 deletions
diff --git a/blocks.js b/blocks.js
index 8049e59..27aae82 100644
--- a/blocks.js
+++ b/blocks.js
@@ -155,7 +155,7 @@ DialogBoxMorph, BlockInputFragmentMorph, PrototypeHatBlockMorph, Costume*/
// Global stuff ////////////////////////////////////////////////////////
-modules.blocks = '2015-May-01';
+modules.blocks = '2015-June-08';
var SyntaxElementMorph;
@@ -3082,6 +3082,11 @@ BlockMorph.prototype.fullCopy = function () {
ans.allChildren().filter(function (block) {
if (block instanceof SyntaxElementMorph) {
block.cachedInputs = null;
+ if (block instanceof InputSlotMorph) {
+ block.contents().clearSelection();
+ }
+ } else if (block instanceof CursorMorph) {
+ block.destroy();
}
return !isNil(block.comment);
}).forEach(function (block) {
diff --git a/history.txt b/history.txt
index adaf659..f9ea785 100755
--- a/history.txt
+++ b/history.txt
@@ -2522,3 +2522,7 @@ ______
150521
------
* BYOB: Fix encoding glitch
+
+150608
+------
+* Blocks: Fixed #820