Search and Top Navigation
#7900 closed bug (notabug)
Opened November 21, 2011 12:32AM UTC
Closed November 21, 2011 01:23PM UTC
Please see the ticket #7856 and reopen it
Reported by: | nuxwin | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.button | Version: | 1.8.16 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Please see the ticket #7856 and reopen it. I open this ticket since I'm not sure you read the already closed one.
I write the reason here and also my little fix for those that are interested:
The current behavior is bad. When a checkbox is unchecked, it must lose the focus when we move the mouse outside it. The current behavior is really annoying.
Easy fix for now:
{{{
<script type="text/javascript">
/*<![CDATA[*/
$(document).ready(function() {
$('#checkboxes').buttonset();
Fix for http:bugs.jqueryui.com/ticket/7856
$('[type=checkbox]').change(function() {
if(!$(this).is(':checked')) {
$(this).blur();
}
});
});
/*]]>*/
</script>