Index: filefield_widget.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/filefield/filefield_widget.inc,v
retrieving revision 1.93
diff -u -r1.93 filefield_widget.inc
--- filefield_widget.inc	24 Apr 2010 04:32:57 -0000	1.93
+++ filefield_widget.inc	24 Apr 2010 05:26:30 -0000
@@ -446,6 +446,7 @@
  * FormAPI theme function. Theme the output of an image field.
  */
 function theme_filefield_widget($element) {
+  $element['#id'] .= '-upload'; // Link the label to the upload field.
   return theme('form_element', $element, $element['#children']);
 }
 
