Initial code using Drupal 6.38
This commit is contained in:
commit
4824608a33
467 changed files with 90887 additions and 0 deletions
9
misc/form.js
Normal file
9
misc/form.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
|
||||
Drupal.behaviors.multiselectSelector = function() {
|
||||
// Automatically selects the right radio button in a multiselect control.
|
||||
$('.multiselect select:not(.multiselectSelector-processed)')
|
||||
.addClass('multiselectSelector-processed').change(function() {
|
||||
$('.multiselect input:radio[value="'+ this.id.substr(5) +'"]')
|
||||
.attr('checked', true);
|
||||
});
|
||||
};
|
Reference in a new issue