From b5f30002a5773ee245437f2df3d92c680cec4914 Mon Sep 17 00:00:00 2001 From: Jens Mönig Date: Sat, 23 May 2015 00:36:21 +0200 Subject: fix block library export encoding glitch --- byob.js | 6 +++--- history.txt | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/byob.js b/byob.js index 86b6b4b..1c2cfee 100644 --- a/byob.js +++ b/byob.js @@ -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,' + str - + '')); + + ''); } else { new DialogBoxMorph().inform( 'Export blocks', diff --git a/history.txt b/history.txt index 8e6a8fc..29c56e5 100755 --- a/history.txt +++ b/history.txt @@ -2508,3 +2508,7 @@ ______ 150521 ------ * BYOB: Fix encoding for exported libraries of global blocks + +150523 +------ +* BYOB: Fix encoding glitch -- cgit v1.3.1