diff options
| author | Jens Mönig <jens@moenig.org> | 2014-12-04 15:47:38 +0100 |
|---|---|---|
| committer | Jens Mönig <jens@moenig.org> | 2014-12-04 15:47:38 +0100 |
| commit | 59ee043321e2b96bacc98564487c1d1c7094f014 (patch) | |
| tree | 5733552b9520a3483244f8052afc86c31aceb45c | |
| parent | ad1fe34d1ed900e1e4fd75e5c5666f6ab28b9c80 (diff) | |
| parent | 2b2ff77823d085a9bd6e4a8bca8553ba72922e06 (diff) | |
| download | snap-59ee043321e2b96bacc98564487c1d1c7094f014.tar.gz snap-59ee043321e2b96bacc98564487c1d1c7094f014.zip | |
Merge pull request #665 from cycomachead/cloud-default
Really fix setting the cloud as default save location when logged in
| -rw-r--r-- | gui.js | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -190,7 +190,7 @@ IDE_Morph.prototype.init = function (isAutoFill) { // additional properties: this.cloudMsg = null; - this.source = SnapCloud.username ? 'cloud' : 'local'; + this.source = 'local'; this.serializer = new SnapSerializer(); this.globalVariables = new VariableFrame(); @@ -241,6 +241,9 @@ IDE_Morph.prototype.openIn = function (world) { if (usr) { SnapCloud.username = usr.username || null; SnapCloud.password = usr.password || null; + if (SnapCould.username) { + this.source = 'cloud'; + } } } } |
