mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2024-11-29 02:25:39 -05:00
Merge pull request #56 from tmickel/bugfix/storystarter-autosave
Prevent new projects via autosave in story-starter mode
This commit is contained in:
commit
70ddc00913
1 changed files with 2 additions and 0 deletions
|
@ -376,6 +376,8 @@ export default class ScratchJr {
|
||||||
}, function (md5) {
|
}, function (md5) {
|
||||||
// Save project data
|
// Save project data
|
||||||
currentProject = md5;
|
currentProject = md5;
|
||||||
|
// Switch out of story-starter mode to avoid creating new projects
|
||||||
|
editmode = 'edit';
|
||||||
Project.prepareToSave(currentProject, onDone);
|
Project.prepareToSave(currentProject, onDone);
|
||||||
});
|
});
|
||||||
}, true);
|
}, true);
|
||||||
|
|
Loading…
Reference in a new issue