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