Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 2.1
-
Fix Version/s: 2.2.0
-
Component/s: Core CiviCRM
-
Labels:None
Description
Bug is described here:
http://forum.civicrm.org/index.php/topic,6243.msg27749.html#msg27749
Fix is to move script tag inside the if condition:
{if !$group.id} {literal}<script type="text/javascript">
showElements();
function showElements() {
if ( document.getElementsByName('group_option')[0].checked )
else
{ show('id_new_group'); hide('id_existing_group'); }}
</script>
The 2nd bug reported in that post should be fixed already - Activity.tpl has been restructured quite a bit and it looks ok to me (doesn't have the unmatched <script> tag problem).