Skip to content

Commit 72abe13

Browse files
committed
include UI in Pega rulesets toggle
1 parent 7495f7d commit 72abe13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tracer/tracer_options.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ fetch(browser.runtime.getURL("tracer/tracer_pegaRulesetSelection.html"))
191191
});
192192

193193
document.arrive("button#PDTDeselectPegaRulesets", {onceOnly: true, existing: true}, () => {
194-
document.querySelector("button#PDTSelectPegaRulesets").addEventListener("click", () => document.querySelectorAll("div#RuleSetDisplay table table table td.dataLabelStyle input[type='CHECKBOX']").forEach(function (el) { if(el.nextSibling.textContent.trim().startsWith("Pega")) el.checked = true } ));
195-
document.querySelector("button#PDTDeselectPegaRulesets").addEventListener("click", () => document.querySelectorAll("div#RuleSetDisplay table table table td.dataLabelStyle input[type='CHECKBOX']").forEach(function (el) { if(el.nextSibling.textContent.trim().startsWith("Pega")) el.checked = false } ));
194+
document.querySelector("button#PDTSelectPegaRulesets").addEventListener("click", () => document.querySelectorAll("div#RuleSetDisplay table table table td.dataLabelStyle input[type='CHECKBOX']").forEach(function (el) { if(el.nextSibling.textContent.trim().startsWith("Pega") || el.nextSibling.textContent.trim().startsWith("UI-")) el.checked = true } ));
195+
document.querySelector("button#PDTDeselectPegaRulesets").addEventListener("click", () => document.querySelectorAll("div#RuleSetDisplay table table table td.dataLabelStyle input[type='CHECKBOX']").forEach(function (el) { if(el.nextSibling.textContent.trim().startsWith("Pega") || el.nextSibling.textContent.trim().startsWith("UI-")) el.checked = false } ));
196196
});
197197

198198
siteConfig(siteConfigCallback);

0 commit comments

Comments
 (0)