This commit is contained in:
Florian Cargoët 2015-04-17 16:24:02 +02:00
parent 292d4a1bc9
commit 63e3794ba7

View File

@ -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 () {