1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-13 18:14:07 +02:00
This commit is contained in:
Jakub Vrana
2010-10-19 13:28:43 +02:00
parent 1b66afcb82
commit 0311083b49

View File

@@ -48,7 +48,7 @@ function selectValue(select) {
* @return HTMLElement
*/
function formField(form, name) {
// required in old IE, maybe can be rewritten as form.elements[name]
// required in IE < 8, form.elements[name] doesn't work
for (var i=0; i < form.length; i++) {
if (form[i].name == name) {
return form[i];