Skip to content

Commit

Permalink
Removed the commented code and added comment for buttonFIlter in js
Browse files Browse the repository at this point in the history
  • Loading branch information
kedarnn committed Dec 11, 2024
1 parent 2cce52f commit 3f08677
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions lobster/tools/core/html_report/assets/html_report.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,32 +13,7 @@ function buttonFilter(filter) {
}
}
}
// Code commented on purpose. This is work in progress to hide the filenames in
//Detailed report while issue toggling
// var item_groups = document.querySelectorAll('.item-group');
// for (var i = 0; i < item_groups.length; i++) {
//
// var item_group = item_groups[i];
// console.log("item_group" + item_group)
// // var siblingDivCount = 0;
// // // Get the sibling div elements
// //
// // var parentElement = item_group.parentElement;
// var children = item_group.getElementsByTagName('div');
// item_group.style.display = "none";
// for (var j = 0; j < children.length; j++) {
// console.log("children[j].id " + children[j].id)
// if (children[j].id.startsWith("item-")) {
// // console.log("children[j] "+children[j].innerHTML)
// // console.log("children[j] "+children[j].style.display)
// if (children[j].style.display != "none") {
// console.log("INN")
// item_group.style.display = "block";
// break;
// }
// }
// }
// }
// filter the issues list based on the issue filter button clicked
for (i = 0; i < issue_elms.length; i++) {
console.log("log ", issue_elms[i].className)
if (filter == "all") {
Expand Down

0 comments on commit 3f08677

Please sign in to comment.