summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjake%bugzilla.org <>2005-04-27 01:38:35 +0200
committerjake%bugzilla.org <>2005-04-27 01:38:35 +0200
commitef3ef0d4fd126999677694787f7fc5cac07a46a7 (patch)
tree80b678316a2ec1eb33682697201d5c0b900fc014
parentcc8d6d3943c9c3cf82e6b1e13c1479a0cef77554 (diff)
downloadbugzilla-ef3ef0d4fd126999677694787f7fc5cac07a46a7.tar.gz
bugzilla-ef3ef0d4fd126999677694787f7fc5cac07a46a7.tar.xz
Bug 274906 - Bugzilla no longer displays an [edit] link inline for attachments. Instead, the edit page is linked to directly where a "view" link is available to get the raw data if required.
r=wurblzap, a=justdave
-rw-r--r--globals.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/globals.pl b/globals.pl
index d33319e98..273f677d4 100644
--- a/globals.pl
+++ b/globals.pl
@@ -832,8 +832,8 @@ sub GetAttachmentLink {
my ($title, $className) = @{$::attachlink{$attachid}};
# $title will be undefined if the attachment didn't exist in the database.
if (defined $title) {
- my $linkval = "attachment.cgi?id=$attachid";
- return qq{<a href="$linkval" class="$className" title="$title">$link_text</a> [<a href="$linkval&amp;action=edit">edit</a>]};
+ my $linkval = "attachment.cgi?id=$attachid&amp;action=edit";
+ return qq{<a href="$linkval" class="$className" title="$title">$link_text</a>};
}
else {
return qq{$link_text};