/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
function selectActivity(i)
{
// deselect current selection
- j = document.forms["Report"].currentSelection.value;
+ j = document.forms.Report.currentSelection.value;
ele = document.getElementById("civicase-audit-activity-" + j);
ele.className = "activity";
ele = document.getElementById("civicase-audit-header-" + j);
ele.style.display = "block";
ele = document.getElementById("civicase-audit-body-" + i);
ele.style.display = "block";
- document.forms["Report"].currentSelection.value = i;
+ document.forms.Report.currentSelection.value = i;
}