Allow ConversationController.load() to be called more than once
This commit is contained in:

committed by
Scott Nonnenberg

parent
2ffabdcdd9
commit
c81d3f5c0b
@@ -166,9 +166,6 @@
|
||||
},
|
||||
load: function() {
|
||||
console.log('ConversationController: starting initial fetch');
|
||||
if (this._initialPromise) {
|
||||
throw new Error('ConversationController.load() has already been called!');
|
||||
}
|
||||
|
||||
this._initialPromise = new Promise(function(resolve, reject) {
|
||||
conversations.fetch().then(function() {
|
||||
|
Reference in New Issue
Block a user