FCLT#55811 Conditioneel zichtbare kenmerken werken niet goed met checkboxen

svn path=/Website/branches/v2018.2/; revision=40271
This commit is contained in:
Alex Tiehuis
2018-12-18 12:03:00 +00:00
parent 2b84f64f03
commit 7a27eb5a1d

View File

@@ -1605,11 +1605,20 @@ function listKenmerk(sql, module, key, props)
}
else
{
onchangeExp = ";if (fvalid) calculateFlexExpressions(this"
+ ", \"" + module + "\""
+ ", " + key
+ ", \"" + (props.kenmerk_module || "") + "\""
+ ", \"" + nameprefix + "\""
+ ", \"" + extraserie + "\""
+ ");";
kv = "<input type='checkbox' class='"
+ (kenmerk_search ? "fldCSflexN " : "fldCflexN ")
+ (required ? required_class : "")
+ "'"
+ " onChange='checkKenmerk(this, false,\"" + ktype + "\"," + klen + "," + kdec + "," + kmin + "," + kmax + ")' "
+ " onChange='checkKenmerk(this, false,\"" + ktype + "\"," + klen + "," + kdec + "," + kmin + "," + kmax + ")"
+ onchangeExp
+ "' "
+ " onBlur='checkKenmerk(this, true,\"" + ktype + "\"," + klen + "," + kdec + "," + kmin + "," + kmax + ")' "
+ (flexkenmerkwaarde == 1
? " checked"