Index: filefield.js =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/filefield/filefield.js,v retrieving revision 1.15 diff -u -r1.15 filefield.js --- filefield.js 2 Mar 2009 07:22:48 -0000 1.15 +++ filefield.js 3 Mar 2009 14:51:15 -0000 @@ -37,7 +37,10 @@ * Prevent FileField uploads when using buttons not intended to upload. */ Drupal.behaviors.filefieldButtons = function(context) { - $('input.form-submit.ahah-processed').bind('mousedown', Drupal.filefield.disableFields); + // DEBUG: Log the jQuery selector group. + // This will show that this behavior is executing before the ahah processing. + if (window.console) { console.log($('input.form-submit.ahah-processed')); } + $('input.form-submit.ahah-processed').bind('mousedown', Drupal.filefield.disableFields); }; /**