Created
March 10, 2010 23:05
-
-
Save niksilver/328569 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EditTaskAssistant.prototype.popScene = function(wasCancelled) { | |
Mojo.Log.info("EditTaskAssistant.popScene: Entering"); | |
if (this.config.task.name == '') { | |
// Don't allow a blank name to be entered | |
this.config.task.name = this.savedTaskProperties.name; | |
} | |
this.config.task.update(); | |
Mojo.Controller.stageController.popScene({ | |
lastScene: 'EditTask', | |
task: this.config.task, | |
isNew: this.config.isNew, | |
wasCancelled: wasCancelled | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment