Commit 2ede031c authored by JC Brand's avatar JC Brand

Merge pull request #373 from floriancargoet/fix/group-show

Fixes #372
parents 292d4a1b 63e3794b
......@@ -4003,10 +4003,12 @@
},
show: function () {
// FIXME: There's a bug here, if show_only_online_users is true
// Possible solution, get the group, call _.each and check
// showInRoster
this.$el.nextUntil('dt').addBack().show();
this.$el.show();
_.each(this.getAll(), function (contactView) {
if (contactView.model.showInRoster()) {
contactView.$el.show();
}
});
},
hide: function () {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment