Fixed #292 (pulldowns loose lines when exported as library)

pull/3/merge
jmoenig 2014-01-10 12:18:24 +01:00
rodzic 3c4e27899c
commit fba8387359
2 zmienionych plików z 4 dodań i 3 usunięć

Wyświetl plik

@ -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',

Wyświetl plik

@ -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)