diff options
| author | Gubolin <gubolin@fantasymail.de> | 2014-09-12 15:33:13 +0200 |
|---|---|---|
| committer | Gubolin <gubolin@fantasymail.de> | 2014-09-12 15:33:13 +0200 |
| commit | feb9a2d0fe9e2a744059e8054c229c537a4fa910 (patch) | |
| tree | 1de04b0e1788ad036b6aba04cfc6e297f4fdc74a | |
| parent | b0276ea5bb8feb2c8d095574b9ed29bb6bbefe5c (diff) | |
| download | snap-feb9a2d0fe9e2a744059e8054c229c537a4fa910.tar.gz snap-feb9a2d0fe9e2a744059e8054c229c537a4fa910.zip | |
prepare for team support
| -rw-r--r-- | gui.js | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -3936,7 +3936,17 @@ IDE_Morph.prototype.saveProjectToGitHub = function (name, commitMessage) { GitHub.saveProject( commitMessage, this, - function () {myself.showMessage('saved.', 2); }, + function () { + GitHub.getProject( + GitHub.username, + name, + function (code) { + myself.source = 'github'; + myself.droppedText(code); + }, + myself.githubError() + ); + }, this.githubError() ); } @@ -5017,7 +5027,7 @@ ProjectDialogMorph.prototype.openCloudProject = function (project) { ProjectDialogMorph.prototype.openGitHubProject = function (project, user) { var myself = this; - if (user == null) { + if (user == null) { // jshint ignore:line user = GitHub.username; } |
