From e35e6f20461f93766e617ba742ccd9201e4de76f Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sat, 16 Mar 2013 14:35:41 +0000 Subject: [PATCH] jQuery fixes --- lam/lib/html.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lam/lib/html.inc b/lam/lib/html.inc index f6539a7d..58a5854a 100644 --- a/lam/lib/html.inc +++ b/lam/lib/html.inc @@ -1849,7 +1849,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\')); jQuery(\'#' . $this->name . '\').change();"'; + $onClick = 'onClick="jQuery(\'#' . $this->name . '\').prop(\'checked\',!jQuery(\'#' . $this->name . '\').prop(\'checked\')); jQuery(\'#' . $this->name . '\').change();"'; if ($this->labelFirst) { echo '
'; echo $this->label;