signal-desktop/js/views/group_member_list_view.js
lilia 198cc70cef Remove unusued event handlers
The conversation view now handles displaying and listening to the back
button.

// FREEBIE
2016-03-23 15:06:23 -07:00

24 lines
702 B
JavaScript

/*
* vim: ts=4:sw=4:expandtab
*/
(function () {
'use strict';
window.Whisper = window.Whisper || {};
Whisper.GroupMemberList = Whisper.View.extend({
className: 'group-member-list panel',
templateName: 'group-member-list',
initialize: function() {
this.render();
this.member_list_view = new Whisper.ContactListView({
collection: this.model.contactCollection,
className: 'members'
});
this.member_list_view.render();
this.$('.container').append(this.member_list_view.el);
},
render_attributes: {
members: i18n('members')
}
});
})();