GUI: fix for #run: URL switch

pull/3/merge
jmoenig 2013-03-19 12:39:37 +01:00
rodzic a67b2e2381
commit e897915bc7
2 zmienionych plików z 5 dodań i 4 usunięć

6
gui.js
Wyświetl plik

@ -232,10 +232,10 @@ IDE_Morph.prototype.openIn = function (world) {
hash = decodeURIComponent(hash);
}
if (hash.substr(0, 8) === '<project>') {
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();

Wyświetl plik

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