parent
ce5f6e41a8
commit
9d94bce92a
1 changed files with 0 additions and 3 deletions
|
@ -123,9 +123,6 @@
|
||||||
destroyMessages: function(e) {
|
destroyMessages: function(e) {
|
||||||
if (confirm("Permanently delete this conversation?")) {
|
if (confirm("Permanently delete this conversation?")) {
|
||||||
this.model.destroyMessages();
|
this.model.destroyMessages();
|
||||||
this.model.collection.remove(this.model);
|
|
||||||
this.remove();
|
|
||||||
this.model.trigger('destroy');
|
|
||||||
}
|
}
|
||||||
this.$el.find('.menu-list').hide();
|
this.$el.find('.menu-list').hide();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue