|
|
@ -9,7 +9,6 @@
|
|
|
|
tagName: 'div',
|
|
|
|
tagName: 'div',
|
|
|
|
itemView: Whisper.ConversationListItemView,
|
|
|
|
itemView: Whisper.ConversationListItemView,
|
|
|
|
sort: function(conversation) {
|
|
|
|
sort: function(conversation) {
|
|
|
|
console.log('sorting conversation', conversation.id);
|
|
|
|
|
|
|
|
var $el = this.$('.' + conversation.cid);
|
|
|
|
var $el = this.$('.' + conversation.cid);
|
|
|
|
if ($el && $el.length > 0) {
|
|
|
|
if ($el && $el.length > 0) {
|
|
|
|
var index = getInboxCollection().indexOf(conversation);
|
|
|
|
var index = getInboxCollection().indexOf(conversation);
|
|
|
|