fixed box selection in list view
This commit is contained in:
parent
e2300c7047
commit
f2f52cc9c8
|
@ -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 " <td align=\"center\"><input class=\"accountBoxUnchecked\" onClick=\"list_click(this, '" . $rowID . "', '" . $this->type . "')\"" .
|
||||
echo " <td align=\"center\"><input class=\"accountBoxUnchecked\" onClick=\"list_click('" . $rowID . "')\"" .
|
||||
" type=\"checkbox\" name=\"" . $rowID . "\"></td>\n";
|
||||
$this->listPrintToolLinks($info[$i], $rowID);
|
||||
for ($k = 0; $k < sizeof($this->attrArray); $k++) {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue