summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortimeless%mac.com <>2001-03-20 05:02:55 +0100
committertimeless%mac.com <>2001-03-20 05:02:55 +0100
commit74a9b1852f109c45ae03d430b761c5d57dd71556 (patch)
tree117b14b72d55ed4145a55c513c550c21f6b314bf
parent4bdd5de52152184212d5be6bdc371761d5d659f4 (diff)
downloadbugzilla-74a9b1852f109c45ae03d430b761c5d57dd71556.tar.gz
bugzilla-74a9b1852f109c45ae03d430b761c5d57dd71556.tar.xz
fix bug 72487 Create Attachment should allow user to create another attach
Also adds link+desc to created patch. r=jake,terry
-rwxr-xr-xcreateattachment.cgi4
1 files changed, 3 insertions, 1 deletions
diff --git a/createattachment.cgi b/createattachment.cgi
index 038b63094..4f2a465da 100755
--- a/createattachment.cgi
+++ b/createattachment.cgi
@@ -105,9 +105,11 @@ What kind of file is this?
AppendComment($id, $::COOKIE{"Bugzilla_login"},
"Created an attachment (id=$attachid)\n$desc\n");
- print "<TABLE BORDER=1><TD><H2>Attachment to bug $id created</H2>\n";
+ print '<TABLE BORDER=1><TD><H2>Attachment <A TITLE="'.value_quote($desc).
+ "\" HREF=\"showattachment.cgi?attach_id=$attachid\">$attachid</A> to bug $id created</H2>\n";
system("./processmail", $id, $::COOKIE{'Bugzilla_login'});
print "<TD><A HREF=\"show_bug.cgi?id=$id\">Go Back to BUG# $id</A></TABLE>\n";
+ print "<P><A HREF=\"createattachment.cgi?id=$id\">Create another attachment to bug $id</A></P>\n";
}
PutFooter();