From 71c331d4a16a0a5e729e155c7f916a6db1e09a0a Mon Sep 17 00:00:00 2001 From: jmoenig Date: Wed, 26 Jun 2013 19:41:04 +0200 Subject: fixed #100 saving costumes to the cloud --- gui.js | 5 +++-- history.txt | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gui.js b/gui.js index 3d4d44f..4f4f94b 100644 --- a/gui.js +++ b/gui.js @@ -68,7 +68,7 @@ sb, CommentMorph, CommandBlockMorph*/ // Global stuff //////////////////////////////////////////////////////// -modules.gui = '2013-June-20'; +modules.gui = '2013-June-26'; // Declarations @@ -351,6 +351,7 @@ IDE_Morph.prototype.openIn = function (world) { ) { myself.rawOpenProjectString(projectData); } + myself.hasChangedMedia = true; }, function () { myself.shield.destroy(); @@ -5449,7 +5450,7 @@ WardrobeMorph.prototype.paintNew = function() { var cos = new Costume(newCanvas(), "Untitled"), ide = this.parentThatIsA(IDE_Morph), myself = this; - cos.edit(this.world(), null, true, null, function() { + cos.edit(this.world(), ide, true, null, function() { myself.sprite.addCostume(cos); myself.updateList(); if (ide) { diff --git a/history.txt b/history.txt index be07609..b09f713 100755 --- a/history.txt +++ b/history.txt @@ -1761,3 +1761,7 @@ ______ 130625 ------ * Widgets, Blocks: code mapping dialog input is now multi-line monospaced + +130626 +------ +* GUI: fixed #100 saving costumes to the cloud -- cgit v1.3.1