diff options
| author | Jens Mönig <jens@moenig.org> | 2015-05-23 00:37:11 +0200 |
|---|---|---|
| committer | Jens Mönig <jens@moenig.org> | 2015-05-23 00:37:11 +0200 |
| commit | df05d92ab9cf052b2312a8aebb7ccf69d39e8174 (patch) | |
| tree | 56def1bfd1f1328b31f92202c59f7e0f391d0312 | |
| parent | 1a4721ef4ac844c668a1614cf3a6e728c624aa7c (diff) | |
| download | snap-df05d92ab9cf052b2312a8aebb7ccf69d39e8174.tar.gz snap-df05d92ab9cf052b2312a8aebb7ccf69d39e8174.zip | |
fix block library export encoding glitch
| -rw-r--r-- | byob.js | 6 | ||||
| -rwxr-xr-x | history.txt | 4 |
2 files changed, 7 insertions, 3 deletions
@@ -106,7 +106,7 @@ SymbolMorph, isNil*/ // Global stuff //////////////////////////////////////////////////////// -modules.byob = '2015-May-21'; +modules.byob = '2015-May-23'; // Declarations @@ -3301,13 +3301,13 @@ BlockExportDialogMorph.prototype.exportBlocks = function () { this.serializer.serialize(this.blocks) ); if (this.blocks.length > 0) { - window.open(encodeURI('data:text/xml,<blocks app="' + window.open('data:text/xml,<blocks app="' + this.serializer.app + '" version="' + this.serializer.version + '">' + str - + '</blocks>')); + + '</blocks>'); } else { new DialogBoxMorph().inform( 'Export blocks', diff --git a/history.txt b/history.txt index 62d267d..adaf659 100755 --- a/history.txt +++ b/history.txt @@ -2518,3 +2518,7 @@ ______ 150521 ------ * BYOB: Fix encoding for exported libraries of global blocks + +150521 +------ +* BYOB: Fix encoding glitch |
