Template/Update (Part 9)

* convert filter handler
This commit is contained in:
Sarjuuk
2025-08-06 18:05:49 +02:00
parent e17cbfe51f
commit d03f482864
3 changed files with 66 additions and 73 deletions

View File

@@ -601,14 +601,14 @@ function fi_toggle() {
// Set focus on first textbox
d.firstChild.nodeValue = LANG.fihide;
c = (c.parentNode.tagName == 'FORM' ? c.parentNode : $WH.gE(c, 'form')[0]);
c = c.elements.na ? c.elements.na: c.elements.ti;
c = c.elements.na ? c.elements.na : c.elements.ti;
c.focus();
c.select();
}
else {
d.firstChild.nodeValue = LANG.fishow;
}
d.className = 'disclosure-' + (b ? 'on': 'off');
d.className = 'disclosure-' + (b ? 'on' : 'off');
return false;
}