提交 2eaccdd1 编写于 作者: J Julius Volz

Merge pull request #1697 from sigma-star/master

Fix JS XHR requests in prom_console.js on IE11
此差异已折叠。
......@@ -543,6 +543,9 @@ PromConsole.Graph.prototype.dispatch = function() {
return;
}
var data = xhr.response;
if (typeof data !== "object") {
data = JSON.parse(xhr.responseText);
}
pending_requests -= 1;
all_data[i] = data;
if (pending_requests === 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册