Removed unneeded console.logs (#131)

Co-authored-by: mikolaj widla <mikolaj.widla@gmail.com>
Co-authored-by: Adam Bem <adam.bem@zoho.eu>
Reviewed-on: #131
This commit is contained in:
2023-03-24 09:32:22 +01:00
parent 9265c0a051
commit 994804b640
8 changed files with 42 additions and 74 deletions

View File

@@ -1,6 +1,6 @@
$(document).ready( function() {
document.getElementById("rest-mock").href =
window.location.protocol + "//" + window.location.hostname + ":8097";
console.log("DONE")
});

View File

@@ -203,7 +203,6 @@ function smoothFoldElement(element, toogleState, toggleParrent) {
*/
function refreshTooltip() {
var resizeList = document.getElementsByClassName("collapsibleData");
console.log("collDataList: " + resizeList.length)
document.getElementById("processorTooltipInfo").innerText = procInfo;
document.getElementById("xsltelementsheader").innerText = XSLTheader;
}
@@ -288,7 +287,6 @@ function performFormatRequest(endpoint, checkXML, sourceId, targetId) {
if (!empty) {
restRequest(port, endpoint, xmlData, "").then(function (result) {
console.log(result);
if (result.status == "OK") {
targetElement.value = result.result;
targetElement.style.backgroundColor = null;
@@ -329,17 +327,12 @@ async function restRequest(port, endpoint, xmlData, transformData) {
xmlData = "<empty/>";
}
// var data = xmlData.concat(escapeChar, transformData);
// const url = addr.concat("?escapechar=", escapeChar, "&processor=", getProcInfo());
var jsonData = JSON.stringify({
"data": xmlData,
"process": transformData,
"processor": getProcessor(),
"version": getVersion()
});
// console.log(jsonData);
var init = {
headers: new Headers({
}),