awesome ok can finish a level now:

This commit is contained in:
Peter Cottle 2013-01-10 23:57:54 -08:00
parent 5242afc2f1
commit c5f4d6e3f2
2 changed files with 6 additions and 6 deletions

View file

@ -16854,9 +16854,9 @@ var LevelBuilder = Level.extend({
deferred: whenDoneEditing
});
whenDoneEditing.promise
.then(function(levelObj) {
.then(_.bind(function(levelObj) {
this.startDialog = levelObj;
})
}, this))
.fail(function() {
// nothing to do, they dont want to edit it apparently
})
@ -20239,9 +20239,9 @@ var LevelBuilder = Level.extend({
deferred: whenDoneEditing
});
whenDoneEditing.promise
.then(function(levelObj) {
.then(_.bind(function(levelObj) {
this.startDialog = levelObj;
})
}, this))
.fail(function() {
// nothing to do, they dont want to edit it apparently
})