Commit 4322e903 authored by JC Brand's avatar JC Brand

Bugfix.

Can't know whether existing roster item is already shown under the existing group.
parent 5bd3798d
......@@ -3317,12 +3317,8 @@
view.delegateEvents();
return this;
}
if ($.contains(document.documentElement, view.el)) {
view.render();
} else {
// FIXME need to choose proper group
this.$el.find('.roster-group').after(view.render().el);
}
// FIXME need to choose proper group
this.$el.find('.roster-group').after(view.render().el);
},
updateRoster: function (item) {
......
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