Add log to see if we ever fetch while fetching
// FREEBIE
This commit is contained in:
parent
16f3717824
commit
176339ffe6
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue