After destroying messages, remove the conversation view

This commit is contained in:
lilia 2015-08-31 15:50:32 -07:00
parent 272d098e85
commit cc92cdfa29

View file

@ -186,6 +186,7 @@
destroyMessages: function(e) {
this.confirm("Permanently delete this conversation?").then(function() {
this.model.destroyMessages();
this.remove();
}.bind(this));
this.$('.menu-list').hide();
},