Async remove identity

This commit is contained in:
lilia
2015-04-09 14:58:26 -07:00
parent 26f1aa4db5
commit 71715c95bc
4 changed files with 12 additions and 12 deletions
+1 -2
View File
@@ -41,8 +41,7 @@
},
resolve: function() {
new Promise(function(resolve) {
this.conversation.resolveConflicts(this.model.number);
resolve();
this.conversation.resolveConflicts(this.model.number).then(resolve);
}.bind(this));
this.trigger('resolve');
this.remove();