Implemented message shown when no data type is returned. (#150) #152
@@ -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.";
|
||||
|
widlam marked this conversation as resolved
widlam
commented
Review
```
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