? .filefield_widget.inc.swp
Index: filefield.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/filefield/filefield.module,v
retrieving revision 1.163
diff -u -p -r1.163 filefield.module
--- filefield.module	5 Feb 2009 19:54:43 -0000	1.163
+++ filefield.module	6 Feb 2009 10:53:04 -0000
@@ -188,6 +188,17 @@ function filefield_file_download($file) 
   );
 }
 
+/**
+ * Implementation of hook_form_alter().
+ *
+ * Set the appropriate attibutes to allow file uploads on the field settings
+ * form.
+ */
+function filefield_form_alter(&$form, $form_state, $form_id) {
+  if ($form_id == 'content_field_edit_form') {
+    $form['#attributes'] = array('enctype' => 'multipart/form-data');
+  }
+}
 
 /**
  * Implementation of CCK's hook_field_info().
