Sort contacts by name in compose flow
This commit is contained in:
parent
6d81011f6a
commit
80ce2d95e0
1 changed files with 3 additions and 1 deletions
|
@ -48,7 +48,9 @@ var Whisper = Whisper || {};
|
|||
|
||||
this.typeahead_collection = new typeahead();
|
||||
this.typeahead_view = new Whisper.ConversationListView({
|
||||
collection : new Whisper.ConversationCollection(),
|
||||
collection : new (Whisper.ConversationCollection.extend({
|
||||
comparator: 'name'
|
||||
}))(),
|
||||
className: 'typeahead'
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue