reset solved

This commit is contained in:
Peter Cottle 2013-01-09 13:55:40 -08:00
parent f0a9c66056
commit 36bfd99d9e
6 changed files with 39 additions and 33 deletions

View file

@ -185,13 +185,13 @@ var Sandbox = Backbone.View.extend({
command.addWarning(
"Solved map was reset, you are starting from a clean slate!"
);
deferred.resolve();
command.finishWith(deferred);
},
processSandboxCommand: function(command, deferred) {
var commandMap = {
'reset solved': this.resetSolved,
'general help': this.helpDialog,
'help general': this.helpDialog,
'help': this.helpDialog,
'reset': this.reset,
'delay': this.delay,