Index: editablefields.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/editablefields/Attic/editablefields.js,v
retrieving revision 1.1.2.14.2.12
diff -u -p -r1.1.2.14.2.12 editablefields.js
--- editablefields.js	18 Jan 2010 08:48:10 -0000	1.1.2.14.2.12
+++ editablefields.js	19 Jan 2010 01:19:35 -0000
@@ -57,17 +57,17 @@ Drupal.editablefields.html_init = functi
 
     var uniqNum = Drupal.editablefields.checkbox_fix_index++;
     $(element).find(':input').each(function() {
-                                     // Create a unique id field for checkboxes 
-                                     if ($(this).attr("type") == 'checkbox' || $(this).attr("type") == 'radio') {
-                                       $(this).attr("id", $(this).attr("id") + '-' + uniqNum);
-                                     }
-                                     $(this).change(function() {
-                                                      Drupal.editablefields.onchange(this);
-                                                    });
-                                   });
+      // Create a unique id field for checkboxes 
+      if ($(this).attr("type") == 'checkbox' || $(this).attr("type") == 'radio') {
+        $(this).attr("id", $(this).attr("id") + '-' + uniqNum);
+      }
+      $(this).click(function() {
+        Drupal.editablefields.onClick(this);
+      });
+    });
     
-//    $(element).find(':input').change(function() {
-//      Drupal.editablefields.onchange(this);
+//    $(element).find(':input').click(function() {
+//      Drupal.editablefields.onClick(this);
 //    });
 
     $(element).find(':input').blur(function() {
@@ -159,18 +159,18 @@ Drupal.editablefields.load = function(el
 
         var uniqNum = Drupal.editablefields.checkbox_fix_index++;
         $(element).find(':input').each(function() {
-                                         // Create a unique id field for checkboxes 
-                                         if ($(this).attr("type") == 'checkbox' || $(this).attr("type") == 'radio') {
-                                           $(this).attr("id", $(this).attr("id") + '-' + uniqNum);
-                                         }
-                                         $(this).change(function() {
-                                                          Drupal.editablefields.onchange(this);
-                                                        });
-                                       });
+          // Create a unique id field for checkboxes 
+          if ($(this).attr("type") == 'checkbox' || $(this).attr("type") == 'radio') {
+            $(this).attr("id", $(this).attr("id") + '-' + uniqNum);
+          }
+          $(this).click(function() {
+            Drupal.editablefields.onClick(this);
+          });
+        });
         
 
-//        $(element).find(':input').change(function() {
-//          Drupal.editablefields.onchange(this);
+//        $(element).find(':input').click(function() {
+//          Drupal.editablefields.onClick(this);
 //        });
 
         $(element).find(':input').blur(function() {
@@ -211,7 +211,7 @@ Drupal.editablefields.load = function(el
   }
 };
 
-Drupal.editablefields.onchange = function(element) {
+Drupal.editablefields.onClick = function(element) {
   if (!$(element).hasClass('editablefields')) {
     element = $(element).parents('div.editablefields');
   }
