From 9d94bce92ab2e52828357639b7b76e42de01f369 Mon Sep 17 00:00:00 2001 From: lilia Date: Tue, 3 Mar 2015 10:39:09 -0800 Subject: [PATCH] After clearing messages, leave conversation open Fixes #178 --- js/views/conversation_view.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/js/views/conversation_view.js b/js/views/conversation_view.js index 70ff6981..33ffd9ef 100644 --- a/js/views/conversation_view.js +++ b/js/views/conversation_view.js @@ -123,9 +123,6 @@ destroyMessages: function(e) { if (confirm("Permanently delete this conversation?")) { this.model.destroyMessages(); - this.model.collection.remove(this.model); - this.remove(); - this.model.trigger('destroy'); } this.$el.find('.menu-list').hide(); },