1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 02:55:55 +00:00

fix forced selection of dropboxes (functions.js:dropboxSelect())

This commit is contained in:
Andrew Dolgov
2005-12-20 12:14:24 +01:00
parent a9b0bfd5e0
commit 1b0809ae45
3 changed files with 24 additions and 7 deletions

View File

@@ -744,3 +744,12 @@ function showBlockElement(id) {
function hideParentElement(e) {
e.parentNode.style.display = "none";
}
function dropboxSelect(e, v) {
for (i = 0; i < e.length; i++) {
if (e[i].value == v) {
e.selectedIndex = i;
break;
}
}
}