1
// $Id: form.js,v 1.1 2007/09/12 18:29:32 goba Exp $
3
Drupal.behaviors.multiselectSelector = function() {
4
// Automatically selects the right radio button in a multiselect control.
5
$('.multiselect select:not(.multiselectSelector-processed)')
6
.addClass('multiselectSelector-processed').change(function() {
7
$('.multiselect input:radio[value="'+ this.id.substr(5) +'"]')
8
.attr('checked', true);