• JC Brand's avatar
    Bugfixes. RosterItemView didn't rebind events. Undefined vars in onConnect. · 18091308
    JC Brand authored
    When using show_only_online_users, roster item DOM elements are removed from
    the DOM if their status changed from 'online' to something else.
    
    When their status changed to 'online' again, they were re-added.
    
    Their views (RosterItemView) instances however didn't listen to events anymore.
    
    Calling delegateEvents on the view after calling $.remove() fixed this.
    18091308
index.html 10.7 KB