From d7bc89001d660312a22c16de8a7e6896209a6152 Mon Sep 17 00:00:00 2001 From: Benoit DUMONT Date: Sat, 25 Jan 2025 21:37:48 +0100 Subject: [PATCH] removed some console.info from js. --- source/src/main/webapp/js/global/global.js | 2 +- .../webapp/js/pages/ReportingCampaignOverTime.js | 12 ------------ source/src/main/webapp/js/pages/TestCaseExecution.js | 4 ---- 3 files changed, 1 insertion(+), 17 deletions(-) diff --git a/source/src/main/webapp/js/global/global.js b/source/src/main/webapp/js/global/global.js index 2139847a8..050bef1ae 100644 --- a/source/src/main/webapp/js/global/global.js +++ b/source/src/main/webapp/js/global/global.js @@ -2656,7 +2656,7 @@ function setTimeRange(id) { fromD.setDate(toD.getDate() - 1); } else if (id === 7) { // This Month fromD.setDate(1); - } else if (id === 8) { // Last Calendar Month + } else if (id === 8) { // Last Calendar Month fromD.setMonth(fromD.getMonth() - 1); fromD.setDate(1); toD.setDate(1); diff --git a/source/src/main/webapp/js/pages/ReportingCampaignOverTime.js b/source/src/main/webapp/js/pages/ReportingCampaignOverTime.js index fd8c3d461..8dc1c1888 100644 --- a/source/src/main/webapp/js/pages/ReportingCampaignOverTime.js +++ b/source/src/main/webapp/js/pages/ReportingCampaignOverTime.js @@ -583,14 +583,12 @@ function buildTagGraphs(data) { pointBorderWidth: function (d) { var index = d.dataIndex; var value = d.dataset.data[index]; - console.info(value); return value.falseNegative === true ? 3 : 1; }, pointBorderColor: function (d) { var index = d.dataIndex; var value = d.dataset.data[index]; - console.info(value); return value.falseNegative === true ? '#00d27a' : get_Color_fromindex(i); }, @@ -616,14 +614,12 @@ function buildTagGraphs(data) { pointBorderWidth: function (d) { var index = d.dataIndex; var value = d.dataset.data[index]; - console.info(value); return value.falseNegative === true ? 3 : 1; }, pointBorderColor: function (d) { var index = d.dataIndex; var value = d.dataset.data[index]; - console.info(value); return value.falseNegative === true ? '#00d27a' : get_Color_fromindex(i); }, @@ -633,10 +629,8 @@ function buildTagGraphs(data) { return getExeStatusRowColor(value.ciResult); }, pointRadius: function (context) { -// console.info(context); var index = context.dataIndex; var value = context.dataset.data[index]; -// console.info(value.comment); return value.comment === '' ? 4 : 8; }, @@ -652,14 +646,12 @@ function buildTagGraphs(data) { pointBorderWidth: function (d) { var index = d.dataIndex; var value = d.dataset.data[index]; - console.info(value); return value.falseNegative === true ? 3 : 1; }, pointBorderColor: function (d) { var index = d.dataIndex; var value = d.dataset.data[index]; - console.info(value); return value.falseNegative === true ? '#00d27a' : get_Color_fromindex(i); }, @@ -686,14 +678,12 @@ function buildTagGraphs(data) { pointBorderWidth: function (d) { var index = d.dataIndex; var value = d.dataset.data[index]; - console.info(value); return value.falseNegative === true ? 3 : 1; }, pointBorderColor: function (d) { var index = d.dataIndex; var value = d.dataset.data[index]; - console.info(value); return value.falseNegative === true ? '#00d27a' : get_Color_fromindex(i); }, @@ -722,10 +712,8 @@ function buildTagGraphs(data) { return getExeStatusRowColor(value.ciResult); }, pointRadius: function (context) { -// console.info(context); var index = context.dataIndex; var value = context.dataset.data[index]; -// console.info(value.comment); return value.comment === '' ? 4 : 8; }, diff --git a/source/src/main/webapp/js/pages/TestCaseExecution.js b/source/src/main/webapp/js/pages/TestCaseExecution.js index b98c27ba7..b7a406ad8 100644 --- a/source/src/main/webapp/js/pages/TestCaseExecution.js +++ b/source/src/main/webapp/js/pages/TestCaseExecution.js @@ -566,7 +566,6 @@ function updatePage(data, steps) { link = $("