gluon-web: fix access to undefined in checkvalue()

Fixes: cfe1bba8 "gluon-web: fix radio button view of ListValues"
This commit is contained in:
Matthias Schiffer 2018-02-04 18:54:00 +01:00
parent 9ece0daa76
commit 623faf794a
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C
2 changed files with 3 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -159,6 +159,7 @@
return (value == ref);
} else {
t = document.getElementById(target + '.' + ref);
if (t)
return (t.type == "radio" && t.checked);
}