Index: filefield.js =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/filefield/filefield.js,v retrieving revision 1.21 diff -u -r1.21 filefield.js --- filefield.js 3 Jul 2009 21:22:57 -0000 1.21 +++ filefield.js 24 Apr 2010 02:29:01 -0000 @@ -37,9 +37,8 @@ * Prevent FileField uploads when using buttons not intended to upload. */ Drupal.behaviors.filefieldButtons = function(context) { - $('input.form-submit') - .bind('mousedown', Drupal.filefield.disableFields) - .bind('mousedown', Drupal.filefield.progressBar); + $('input.form-submit').bind('mousedown', Drupal.filefield.disableFields); + $('div.filefield-element input.form-submit', context).bind('mousedown', Drupal.filefield.progressBar); }; /**