We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 752a41f commit b2c18a0Copy full SHA for b2c18a0
roles/ui/files/FWO.UI/wwwroot/js/scrollIntoView.js
@@ -2,7 +2,9 @@
2
function scrollIntoRSBView(htmlObjId) {
3
let obj = document.getElementById(htmlObjId)?.parentElement?.parentElement; // gets the tr element containing the obj
4
if (!obj)
5
+ {
6
return false;
7
+ }
8
obj.scrollIntoView({ behavior: "smooth", block: "center" });
9
// Expand row
10
let toggleLink = obj.previousElementSibling.querySelector("a");
0 commit comments