=== modified file 'sites/all/modules/project_issue/project_issue.module'
--- sites/all/modules/project_issue/project_issue.module	2011-07-12 21:57:02 +0000
+++ sites/all/modules/project_issue/project_issue.module	2011-09-17 01:07:15 +0000
@@ -457,13 +457,19 @@
         $form['attachments']['#weight'] = 2;
         // TODO: temporary hack until we decide how to deal with
         // editing attachments on issues overall.
-        if (!empty($form['cid']['#value'])) {
+        if (empty($form['cid']['#value'])) {
+          _project_issue_upload_list($form['attachments']['wrapper']);
+        }
+        else {
           $form['attachments']['#access'] = FALSE;
         }
       }
       // Add our own custom validation to the comment form for issue nodes.
       $form['#validate'][] = 'project_issue_form_comment_validate';
       break;
+    case 'comment_upload_js':
+      _project_issue_upload_list($form);
+      break;
 
     case 'comment_confirm_delete':
       $type = db_result(db_query("SELECT type FROM {node} WHERE nid = %d", $form['#comment']->nid));
@@ -486,6 +492,16 @@
   }
 }
 
+function _project_issue_upload_list(&$file_wrapper_element) {
+  if ($issue_dir = variable_get('project_directory_issues', 'issues')) {
+    $directory = file_directory_path() . '/' . $issue_dir;
+    foreach (element_children($file_wrapper_element['files']) as $key) {
+      $basename = basename($file_wrapper_element['files'][$key]['filepath']['#value']);
+      $file_wrapper_element['files'][$key]['description']['#description'] = '<small>' . file_create_url(file_create_filename($basename, $directory)) . '</small>';
+    }
+  }
+}
+
 function project_issue_node_info() {
   return array(
     'project_issue' => array(

