Add missing resolve
This commit is contained in:
parent
b5d724ffc3
commit
de65f9e6bd
1 changed files with 2 additions and 1 deletions
|
@ -40,8 +40,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
resolve: function() {
|
resolve: function() {
|
||||||
new Promise(function() {
|
new Promise(function(resolve) {
|
||||||
this.conversation.resolveConflicts(this.model.number);
|
this.conversation.resolveConflicts(this.model.number);
|
||||||
|
resolve();
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
this.trigger('resolve');
|
this.trigger('resolve');
|
||||||
this.remove();
|
this.remove();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue