comment fixes
[civicrm-core.git] / js / Audit / audit.js
index 999e969a381818d91ff58ef76b63a800275f1327..4c878bcd1e37f677efb1d360e1c7d1421c410bad 100644 (file)
@@ -1,8 +1,8 @@
 /*
  +--------------------------------------------------------------------+
- | 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.                                    |
  |                                                                    |
@@ -27,7 +27,7 @@
 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);
@@ -49,5 +49,5 @@ function selectActivity(i)
   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;
 }