Merge pull request #56 from tmickel/bugfix/storystarter-autosave

Prevent new projects via autosave in story-starter mode
This commit is contained in:
Tim Mickel 2016-04-11 14:37:51 -04:00
commit 70ddc00913

View file

@ -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);