mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR: fine tuning behavior of selected radio in SelectionGroup
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@85194 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
6f4ee0f878
commit
a1773eac3d
@ -8,6 +8,8 @@ $(document).ready(function() {
|
|||||||
if(prev.length) prev.removeClass('selected');
|
if(prev.length) prev.removeClass('selected');
|
||||||
var next = li.nextAll('li.selected');
|
var next = li.nextAll('li.selected');
|
||||||
if(next.length) next.removeClass('selected');
|
if(next.length) next.removeClass('selected');
|
||||||
|
|
||||||
|
$(this).focus();
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user