nice have left and right view also

This commit is contained in:
Peter Cottle 2012-12-20 12:16:40 -08:00
parent ff809dd85f
commit 7d05c5167d
4 changed files with 13 additions and 37 deletions

View file

@ -99,7 +99,9 @@ var InteractiveRebaseView = ContainedBase.extend({
this.confirm();
}, this))
.fail(_.bind(function() {
this.deferred.reject();
// empty array does nothing, just like in git
this.hide();
this.deferred.resolve([]);
}, this))
.done();