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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user