polifonia-project/clef

Field type and value type disappear when reloading a template for changes - template.html syntax error

Bianca-LM opened this issue · 0 comments

In template.html, the script lines with this structure:
$$("#type__$id option[value$$=$field['type']]").attr("selected","selected");
have no closing square parentheses ']'. This causes a syntax error when trying to modify the template since values are not loaded correctly.
This error is present in every version of CLEF currently available, so even after the correction in the new one it might happen that someone still encounters it.