diff --git a/lam/lib/lists.inc b/lam/lib/lists.inc index 6a57758a..69cc340b 100644 --- a/lam/lib/lists.inc +++ b/lam/lib/lists.inc @@ -385,7 +385,7 @@ class lamList { " onMouseOut=\"list_out(this)\"\n" . " onClick=\"list_click('" . $rowID . "')\"\n" . " onDblClick=\"top.location.href='../account/edit.php?type=" . $this->type . "&DN=" . rawurlencode($info[$i]['dn']) . "'\">\n"); - echo " type . "')\"" . + echo " \n"; $this->listPrintToolLinks($info[$i], $rowID); for ($k = 0; $k < sizeof($this->attrArray); $k++) { diff --git a/lam/templates/lib/500_lam.js b/lam/templates/lib/500_lam.js index 6b92c176..d0473bca 100644 --- a/lam/templates/lib/500_lam.js +++ b/lam/templates/lib/500_lam.js @@ -45,7 +45,7 @@ function list_out(list) { * @param box checkbox name */ function list_click(box) { - cbox = document.getElementsByName(box)[0]; + var cbox = document.getElementsByName(box)[0]; if (cbox.checked == true) { cbox.checked = false; }