New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some offline users have a visible empty <dd> in the roster #372
Comments
I think the bug was identified, I found this : 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();
}, |
An easy solution would be to filter the nextUntil and only select online contacts: this.$el.nextUntil('dt', '.online').addBack().show(); But the |
I've realised that it's not exactly the same bug. The comment is about the |
OK, I think I've worked out something : show: function () {
this.$el.show();
_.each(this.getAll(), function (contactView) {
if (contactView.model.showInRoster()) {
contactView.$el.show();
}
});
}, PR coming. |
With
hide_offline_users: true
, there's a display bug: some<dd>
are empty but not hidden.See screenshots :
Collapsing and expanding a group "solves" the display bug because of filtering.
The text was updated successfully, but these errors were encountered: