Skip to content

Commit

Permalink
removed some console.info from js.
Browse files Browse the repository at this point in the history
  • Loading branch information
vertigo17 committed Jan 25, 2025
1 parent 162fa09 commit d7bc890
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 17 deletions.
2 changes: 1 addition & 1 deletion source/src/main/webapp/js/global/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
12 changes: 0 additions & 12 deletions source/src/main/webapp/js/pages/ReportingCampaignOverTime.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
},
Expand All @@ -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);
},
Expand All @@ -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;
},
Expand All @@ -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);
},
Expand All @@ -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);
},
Expand Down Expand Up @@ -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;
},
Expand Down
4 changes: 0 additions & 4 deletions source/src/main/webapp/js/pages/TestCaseExecution.js
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,6 @@ function updatePage(data, steps) {
link = $("<button class='btn btn-default btn-block marginTop5'>").attr("id", "addBugFromExternal").text(" Open a new bug using " + dataApp.contentTable.bugTrackerConnector + " connector").prepend($(" <span class='glyphicon glyphicon-cloud'></span>"));
$("#bugButtons").append(link);
$("#addBugFromExternal").click(function () {
console.info("click");
$('#addBugFromExternal').attr('disabled', 'disabled');

$.ajax({
Expand Down Expand Up @@ -1907,7 +1906,6 @@ function drawProperty(property, table, isSecondary) {
// Starting to reduce the size of the row by the length of elements.
$(row).find("#contentField").removeClass("col-sm-10").addClass("col-sm-" + (9 - property.fileList.length)).addClass("col-sm-" + (9 - property.fileList.length));
// Adding all media attached to action execution.
console.info("call2 " + isTheExecutionManual);
addFileLink(property.fileList, $(row).find("#contentRow"), $(row).find("#contentRow"), isTheExecutionManual);

htmlElement.prepend(button);
Expand Down Expand Up @@ -2769,7 +2767,6 @@ Action.prototype.draw = function (idMotherStep, id) {
fullActionElement.append(htmlElement);
fullActionElement.append(content);
this.parentStep.stepActionContainer.append(fullActionElement);
console.info("call3 " + isTheExecutionManual);
addFileLink(this.fileList, media, media, isTheExecutionManual, idMotherStep);
};

Expand Down Expand Up @@ -3354,7 +3351,6 @@ Control.prototype.draw = function (idMotherStep, idMotherAction, idControl) {
// Starting to reduce the size of the row by the length of elements.
//$(header).find("#contentField").removeClass("col-xs-12").addClass("col-xs-" + (12 - this.fileList.length * 2)).addClass("col-sm-" + (12 - this.fileList.length * 2));
// Adding all media attached to control execution.
console.info("call4 " + isTheExecutionManual);
addFileLink(this.fileList, media, media, isTheExecutionManual, idMotherStep);
};

Expand Down

0 comments on commit d7bc890

Please sign in to comment.