gluon-web: fix access to undefined in checkvalue()
Fixes: cfe1bba8
"gluon-web: fix radio button view of ListValues"
This commit is contained in:
parent
9ece0daa76
commit
623faf794a
File diff suppressed because one or more lines are too long
@ -159,7 +159,8 @@
|
||||
return (value == ref);
|
||||
} else {
|
||||
t = document.getElementById(target + '.' + ref);
|
||||
return (t.type == "radio" && t.checked);
|
||||
if (t)
|
||||
return (t.type == "radio" && t.checked);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user