CheckGroupSelector ignores disabled-state in Check
--------------------------------------------------
Key: WICKET-3018
URL: https://issues.apache.org/jira/browse/WICKET-3018
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 1.4.9
Reporter: [email protected]
I have a list with Checks, in a CheckGroup. Some of the Checks are disabled
(gray in html). I also have a CheckGroupSelector. When clicking the
CheckGroupSelector, the disabled Checks are also modified. I expect them to be
left alone.
The javascript in the CheckGroupSelector is IMHO incorrect:
it contains:
for(var i=0;i<cb.length;i++)
{
cb[i].checked=this.checked;
}
and should be:
for(var i=0;i<cb.length;i++)
{
if (!cb[i].disabled)
{
cb[i].checked=this.checked;
}
}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.