Skip to content

Commit 6df4e75

Browse files
committed
Fixed #2553
Tab browsing inside ResportByTag screen.
1 parent 0c6be40 commit 6df4e75

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

source/src/main/webapp/js/pages/ReportingExecutionByTag.js

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,32 @@ $.when($.getScript("js/global/global.js")).then(function () {
103103
});
104104

105105

106+
$("#reportByEnvCountryBrowser .nav li").on("click", function (event) {
107+
stopPropagation(event);
108+
$(this).parent().find(".active").removeClass("active");
109+
$(this).addClass("active");
110+
if ($(this).prop("id") === "tab") {
111+
$("#progressEnvCountryBrowser").hide();
112+
$("#summaryTableDiv").show();
113+
} else if ($(this).prop("id") === "graph") {
114+
$("#progressEnvCountryBrowser").show();
115+
$("#summaryTableDiv").hide();
116+
}
117+
});
118+
119+
$("#reportByLabel .nav li").on("click", function (event) {
120+
stopPropagation(event);
121+
$(this).parent().find(".active").removeClass("active");
122+
$(this).addClass("active");
123+
if ($(this).prop("id") === "requirements") {
124+
$("#mainTreeExeS").hide();
125+
$("#mainTreeExeR").show();
126+
} else if ($(this).prop("id") === "stickers") {
127+
$("#mainTreeExeS").show();
128+
$("#mainTreeExeR").hide();
129+
}
130+
});
131+
106132
displayInvariantList("screenshot", "SCREENSHOT", false, undefined, "");
107133
displayInvariantList("video", "VIDEO", false, undefined, "");
108134
displayInvariantList("verbose", "VERBOSE", false, undefined, "");

0 commit comments

Comments
 (0)