commit 2016-10-24 04:12:53.457931

Error in SymbolsStorage._requestFullSymbolsList (datafeed.js) when fetching /symbol_info #1402
This commit is contained in:
Jenkins
2016-10-23 23:13:15 -05:00
parent 79a0c3969f
commit b47007a968
5 changed files with 15 additions and 15 deletions

View File

@@ -454,17 +454,17 @@ Datafeeds.SymbolsStorage.prototype._requestFullSymbolsList = function() {
this._datafeed._send(this._datafeed._datafeedURL + '/symbol_info', {
group: exchange
})
.done(function(exchange) {
.done((function(exchange) {
return function(response) {
that._onExchangeDataReceived(exchange, JSON.parse(response));
that._onAnyExchangeResponseReceived(exchange);
};
})(exchange)
.fail(function(exchange) {
})(exchange))
.fail((function(exchange) {
return function(reason) {
that._onAnyExchangeResponseReceived(exchange);
};
})(exchange);
})(exchange));
}
};