Implemented message shown when no data type is returned. (#150)

Co-authored-by: Adam Bem <adam.bem@zoho.eu>
Reviewed-on: #152
Reviewed-by: Mikolaj Widla <widlam@noreply.example.com>
This commit is contained in:
2023-04-21 09:31:28 +02:00
parent 1b7f6e6f70
commit 1199e06bef

View File

@@ -265,9 +265,11 @@ function performRequest(endpoint, checkXML, checkTransform) {
document.getElementById("procinfo").innerText = ' Computed using ' + result.processor
if (result.type)
document.getElementById("procinfo").innerText += ". Returned: " + result.type;
else
document.getElementById("procinfo").innerText += ". Engine doesn't support return of data types.";
if (result.status = "OK") {
document.getElementById("procinfo").innerText += " in " + result.time + "ms";
document.getElementById("procinfo").innerText += " (" + result.time + "ms)";
procinfo.style.color = "#30aa58";
} else {
procinfo.style.color = "#aa3030";