/[drupal]/contributions/modules/betterselect/betterselect.js
ViewVC logotype

Contents of /contributions/modules/betterselect/betterselect.js

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download) (as text)
Sat Sep 6 03:20:19 2008 UTC (14 months, 3 weeks ago) by setvik
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-BETA1, HEAD
Branch point for: DRUPAL-6--1
Changes since 1.1: +2 -2 lines
File MIME type: text/javascript
#272292 checked options are now correctly highlighted on load
#299450 no longer removes 1st granularity option (year) in cck date field settings
#270275 #302504 ['#submit'] no longer overwritten
#277295 no longer removes 1st option in a cck select list
1 $(document).ready(function() {
2 $('.better-select .form-checkboxes input[@type="checkbox"]').click(function(){
3 this.checked ? $(this).parent().parent().addClass('hilight') : $(this).parent().parent().removeClass('hilight');
4 }).filter(":checked").parent().parent().addClass('hilight');
5 });

  ViewVC Help
Powered by ViewVC 1.1.2