Add log to see if we ever fetch while fetching

// FREEBIE
This commit is contained in:
lilia 2017-05-22 15:33:37 -07:00 committed by Scott Nonnenberg
parent 16f3717824
commit 176339ffe6

View file

@ -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();