diff options
| author | jmoenig <jens@moenig.org> | 2013-04-04 21:13:47 +0200 |
|---|---|---|
| committer | jmoenig <jens@moenig.org> | 2013-04-04 21:13:47 +0200 |
| commit | 2e7ea3c14fc928e33d9040fb48ef9a919f90e8ec (patch) | |
| tree | c0b0f448972ae0cbb830f5c737bcd9f33b6168b5 | |
| parent | 80ee7b8c5361e468aef4e2398ecdf2b87059e254 (diff) | |
| download | snap-yow-2e7ea3c14fc928e33d9040fb48ef9a919f90e8ec.tar.gz snap-yow-2e7ea3c14fc928e33d9040fb48ef9a919f90e8ec.zip | |
Fix: Make Comments Detachable from Prototype Hats
| -rw-r--r-- | byob.js | 4 | ||||
| -rwxr-xr-x | history.txt | 1 |
2 files changed, 4 insertions, 1 deletions
@@ -105,7 +105,7 @@ CommentMorph, localize, CSlotMorph*/ // Global stuff //////////////////////////////////////////////////////// -modules.byob = '2013-April-03'; +modules.byob = '2013-April-04'; // Declarations @@ -1587,6 +1587,8 @@ BlockEditorMorph.prototype.updateDefinition = function () { if (head.comment) { this.definition.comment = head.comment.fullCopy(); this.definition.comment.block = true; // serialize in short form + } else { + this.definition.comment = null; } } diff --git a/history.txt b/history.txt index d2dd002..7c3dc95 100755 --- a/history.txt +++ b/history.txt @@ -1584,3 +1584,4 @@ ______ ------ * loading shared projects in presentation mode, exporting URL for shared projects * Selecting "Help" for a custom block now pops up the comment attached to its definition's prototype hat, if any +* BYOB fix for detaching comments from prototype hat blocks |
