Remove conversation from left pane on 'delete messages' (#1807)
This commit is contained in:
parent
abb83a895e
commit
87d8ec723a
3 changed files with 24 additions and 5 deletions
|
@ -28,6 +28,12 @@
|
|||
$el.insertBefore(target);
|
||||
}
|
||||
}
|
||||
},
|
||||
removeItem: function(conversation) {
|
||||
var $el = this.$('.' + conversation.cid);
|
||||
if ($el && $el.length > 0) {
|
||||
$el.remove();
|
||||
}
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue