Sort contact selector by title

This commit is contained in:
lilia 2015-01-28 18:48:21 -10:00
parent 51dd287b60
commit acc2c6f536
1 changed files with 3 additions and 3 deletions

View File

@ -45,9 +45,9 @@ var Whisper = Whisper || {};
this.typeahead_collection = new typeahead();
this.typeahead_view = new Whisper.ConversationListView({
collection : new (Whisper.ConversationCollection.extend({
comparator: 'name'
}))(),
collection : new Whisper.ConversationCollection({
comparator: function(m) { return m.getTitle(); }
}),
className: 'typeahead'
});