diff --git a/lam/lib/html.inc b/lam/lib/html.inc index 24eb919d..3f1b6d6f 100644 --- a/lam/lib/html.inc +++ b/lam/lib/html.inc @@ -1507,7 +1507,7 @@ class htmlTableExtendedInputCheckbox extends htmlInputCheckbox { * @return array List of input field names and their type (name => type) */ function generateHTML($module, $input, $values, $restricted, &$tabindex, $scope) { - $onClick = 'onClick="jQuery(\'#' . $this->name . '\').attr(\'checked\',!jQuery(\'#' . $this->name . '\').attr(\'checked\'));"'; + $onClick = 'onClick="jQuery(\'#' . $this->name . '\').attr(\'checked\',!jQuery(\'#' . $this->name . '\').attr(\'checked\')); jQuery(\'#' . $this->name . '\').change();"'; if ($this->labelFirst) { echo '