summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2014-01-10 12:18:24 +0100
committerjmoenig <jens@moenig.org>2014-01-10 12:18:24 +0100
commitfba838735947f755b9b23173d744b7dbcb670a70 (patch)
tree95cd8bc79eddc1a9b180f8cf096781a23e9756ea
parent3c4e27899c52d32acba275beb90744b35dde74c0 (diff)
downloadsnap-fba838735947f755b9b23173d744b7dbcb670a70.tar.gz
snap-fba838735947f755b9b23173d744b7dbcb670a70.zip
Fixed #292 (pulldowns loose lines when exported as library)
-rw-r--r--byob.js6
-rwxr-xr-xhistory.txt1
2 files changed, 4 insertions, 3 deletions
diff --git a/byob.js b/byob.js
index aff32ad..2ff40ab 100644
--- a/byob.js
+++ b/byob.js
@@ -106,7 +106,7 @@ SymbolMorph, isNil*/
// Global stuff ////////////////////////////////////////////////////////
-modules.byob = '2014-January-09';
+modules.byob = '2014-January-10';
// Declarations
@@ -3189,13 +3189,13 @@ BlockExportDialogMorph.prototype.selectNone = function () {
BlockExportDialogMorph.prototype.exportBlocks = function () {
var str = this.serializer.serialize(this.blocks);
if (this.blocks.length > 0) {
- window.open('data:text/xml,<blocks app="'
+ window.open(encodeURI('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 d536252..2b58162 100755
--- a/history.txt
+++ b/history.txt
@@ -2068,3 +2068,4 @@ ______
140110
------
* Threads: Revert pull request #295 (xhr-headers), breaks existing installations
+* BYOB: Fixed #292 (pulldowns loose lines when exported as library)