From 641b43d8a05a07d9fc258550885dcdc21564ffd0 Mon Sep 17 00:00:00 2001 From: HummyPkg Date: Tue, 20 Jun 2017 23:37:00 +0100 Subject: [PATCH] experimenting with xhr --- webif/html/diag/script.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webif/html/diag/script.js b/webif/html/diag/script.js index 5abf1d0..77a0652 100644 --- a/webif/html/diag/script.js +++ b/webif/html/diag/script.js @@ -52,7 +52,8 @@ function chunked_request(placeholder, url, data) } }, progressInterval: 500, - success: function(data, status) { + success: function(data, status, xhr) { + //console.log(xhr.status); loaddata(data, status); }, error: function(_, _, e) {