diff options
| author | Jens Mönig <jens@moenig.org> | 2015-05-23 00:36:21 +0200 |
|---|---|---|
| committer | Jens Mönig <jens@moenig.org> | 2015-05-23 00:36:21 +0200 |
| commit | b5f30002a5773ee245437f2df3d92c680cec4914 (patch) | |
| tree | 4e3cd5845e4aac3f423c4257a0424da5a7d79aae /byob.js | |
| parent | e005d716017bdd55027310a27a10cf5dacbf0098 (diff) | |
| download | snap-b5f30002a5773ee245437f2df3d92c680cec4914.tar.gz snap-b5f30002a5773ee245437f2df3d92c680cec4914.zip | |
fix block library export encoding glitch
Diffstat (limited to 'byob.js')
| -rw-r--r-- | byob.js | 6 |
1 files changed, 3 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', |
