From e897915bc79a6fc9fe17fb12e29b992d359913de Mon Sep 17 00:00:00 2001 From: jmoenig Date: Tue, 19 Mar 2013 12:39:37 +0100 Subject: GUI: fix for #run: URL switch --- gui.js | 6 +++--- history.txt | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gui.js b/gui.js index ae26750..8ac59e9 100644 --- a/gui.js +++ b/gui.js @@ -232,10 +232,10 @@ IDE_Morph.prototype.openIn = function (world) { hash = decodeURIComponent(hash); } if (hash.substr(0, 8) === '') { - this.openProjectString(hash); + this.rawOpenProjectString(hash); } else { -// this.openProjectString(getURL(hash)); - this.droppedText(getURL(hash)); + this.rawOpenProjectString(getURL(hash)); +// this.droppedText(getURL(hash)); } this.toggleAppMode(true); this.runScripts(); diff --git a/history.txt b/history.txt index 7150151..750e2e8 100755 --- a/history.txt +++ b/history.txt @@ -1536,4 +1536,5 @@ ______ * Blocks: SyntaxElementMorph fixLayout() optimization for active highlights * Russian translation!! Yay, thanks, Svetlana Ptashnaya!! * Store, GUI, Blocks: Scaling support for Comments and serialization/deserialization -* GUI: motd support: On startup Snap! looks for http://snap.berkeley.edu/motd.txt, if it exists it is shown in a dialog box \ No newline at end of file +* GUI: motd support: On startup Snap! looks for http://snap.berkeley.edu/motd.txt, if it exists it is shown in a dialog box +* GUI: fix for #run: URL switch \ No newline at end of file -- cgit v1.3.1