Add log to see if we ever fetch while fetching
// FREEBIE
This commit is contained in:
@@ -295,6 +295,9 @@
|
||||
fetchMessages: function() {
|
||||
console.log('fetchMessages');
|
||||
this.$('.bar-container').show();
|
||||
if (this.inProgressFetch) {
|
||||
console.log('Multiple fetchMessage calls!');
|
||||
}
|
||||
this.inProgressFetch = this.model.fetchContacts().then(function() {
|
||||
return this.model.fetchMessages().then(function() {
|
||||
this.$('.bar-container').hide();
|
||||
|
Reference in New Issue
Block a user