Skip to content

Commit

Permalink
Fixed #2553
Browse files Browse the repository at this point in the history
Tab browsing inside ResportByTag screen.
  • Loading branch information
vertigo17 committed Nov 29, 2024
1 parent 0c6be40 commit 6df4e75
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions source/src/main/webapp/js/pages/ReportingExecutionByTag.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,32 @@ $.when($.getScript("js/global/global.js")).then(function () {
});


$("#reportByEnvCountryBrowser .nav li").on("click", function (event) {
stopPropagation(event);
$(this).parent().find(".active").removeClass("active");
$(this).addClass("active");
if ($(this).prop("id") === "tab") {
$("#progressEnvCountryBrowser").hide();
$("#summaryTableDiv").show();
} else if ($(this).prop("id") === "graph") {
$("#progressEnvCountryBrowser").show();
$("#summaryTableDiv").hide();
}
});

$("#reportByLabel .nav li").on("click", function (event) {
stopPropagation(event);
$(this).parent().find(".active").removeClass("active");
$(this).addClass("active");
if ($(this).prop("id") === "requirements") {
$("#mainTreeExeS").hide();
$("#mainTreeExeR").show();
} else if ($(this).prop("id") === "stickers") {
$("#mainTreeExeS").show();
$("#mainTreeExeR").hide();
}
});

displayInvariantList("screenshot", "SCREENSHOT", false, undefined, "");
displayInvariantList("video", "VIDEO", false, undefined, "");
displayInvariantList("verbose", "VERBOSE", false, undefined, "");
Expand Down

0 comments on commit 6df4e75

Please sign in to comment.