? betterselect-behaviors-376710-1.patch
Index: betterselect.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/betterselect/betterselect.js,v
retrieving revision 1.2
diff -u -p -r1.2 betterselect.js
--- betterselect.js	6 Sep 2008 03:20:19 -0000	1.2
+++ betterselect.js	19 Feb 2009 11:24:42 -0000
@@ -1,5 +1,8 @@
-$(document).ready(function() {
+// $Id$
+
+Drupal.behaviors.initBetterSelect = function(context) {
   $('.better-select .form-checkboxes input[@type="checkbox"]').click(function(){
     this.checked ? $(this).parent().parent().addClass('hilight') : $(this).parent().parent().removeClass('hilight');
   }).filter(":checked").parent().parent().addClass('hilight');
-});
\ No newline at end of file
+}
+
