Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.0.0, 4.0.3, 4.1.0
-
None
Description
Hi,
design\standard\templates\content\datatype\edit\ezobjectrelationlist.tpl:
line 190:
<div id='{$attribute.id}_create_new_object' style="display:none;">
line 195
onclick="var divfield=document.getElementById('{$attribute.id}_create_new_object');divfield.style.display='block';
The id of a tag must not start with a number.
Fix:
<div id='create_new_object_{$attribute.id}' style="display:none;">
and
onclick="var divfield=document.getElementById('create_new_object_{$attribute.id}');divfield.style.display='block';
References:
- W3C spec: http://www.w3.org/TR/html4/types.html#h-6.2
- Tags definitions: http://www.w3.org/TR/html4/index/elements.html
Best wishes,
Georg.