Setup loading gif on conversation list
TODO: get actual gif asset in there.
This commit is contained in:
parent
cc0acc56dd
commit
00e9e3b757
3 changed files with 9 additions and 2 deletions
|
@ -32,7 +32,10 @@
|
|||
collection : this.conversations
|
||||
});
|
||||
|
||||
this.conversations.fetchActive({reset: true});
|
||||
this.$el.addClass('loading');
|
||||
this.conversations.fetchActive({reset: true}).then(function() {
|
||||
this.$el.removeClass('loading');
|
||||
}.bind(this));
|
||||
|
||||
extension.on('message', function(message) {
|
||||
this.conversations.fetch({id: message.conversationId}).then(function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue