From d8c34a7cdfc8cb73ff275b0e63f91e5ca9b672fe Mon Sep 17 00:00:00 2001 From: Cody Date: Fri, 12 Jan 2024 13:38:15 -0800 Subject: [PATCH 1/2] XRS status error update Fixes #3643 Resolved an issue with XRS status not updating correctly. This commit addresses the problem and ensures the status is now accurately reflected. Fixes #3643 --- Oqtane.Maui/wwwroot/js/interop.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Oqtane.Maui/wwwroot/js/interop.js b/Oqtane.Maui/wwwroot/js/interop.js index 7daf41c1..81898c16 100644 --- a/Oqtane.Maui/wwwroot/js/interop.js +++ b/Oqtane.Maui/wwwroot/js/interop.js @@ -344,7 +344,7 @@ Oqtane.Interop = { }; request.upload.onerror = function() { if (progressinfo !== null && progressbar !== null) { - progressinfo.innerHTML = file.name + ' Error: ' + xhr.status; + progressinfo.innerHTML = file.name + ' Error: ' + request.status; progressbar.value = 0; } }; From 99844931f4fffdff91c60f2f2a16cdb213f21ddc Mon Sep 17 00:00:00 2001 From: Cody Date: Fri, 12 Jan 2024 13:43:02 -0800 Subject: [PATCH 2/2] XRS status error update Fixes #3643 --- Oqtane.Server/wwwroot/js/interop.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Oqtane.Server/wwwroot/js/interop.js b/Oqtane.Server/wwwroot/js/interop.js index 7daf41c1..81898c16 100644 --- a/Oqtane.Server/wwwroot/js/interop.js +++ b/Oqtane.Server/wwwroot/js/interop.js @@ -344,7 +344,7 @@ Oqtane.Interop = { }; request.upload.onerror = function() { if (progressinfo !== null && progressbar !== null) { - progressinfo.innerHTML = file.name + ' Error: ' + xhr.status; + progressinfo.innerHTML = file.name + ' Error: ' + request.status; progressbar.value = 0; } };