diff options
author | jake%bugzilla.org <> | 2005-04-26 23:38:35 +0000 |
---|---|---|
committer | jake%bugzilla.org <> | 2005-04-26 23:38:35 +0000 |
commit | ef3ef0d4fd126999677694787f7fc5cac07a46a7 (patch) | |
tree | 80b678316a2ec1eb33682697201d5c0b900fc014 /globals.pl | |
parent | cc8d6d3943c9c3cf82e6b1e13c1479a0cef77554 (diff) | |
download | bugs-ef3ef0d4fd126999677694787f7fc5cac07a46a7.tar bugs-ef3ef0d4fd126999677694787f7fc5cac07a46a7.tar.gz bugs-ef3ef0d4fd126999677694787f7fc5cac07a46a7.tar.bz2 bugs-ef3ef0d4fd126999677694787f7fc5cac07a46a7.tar.xz bugs-ef3ef0d4fd126999677694787f7fc5cac07a46a7.zip |
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
Diffstat (limited to 'globals.pl')
-rw-r--r-- | globals.pl | 4 |
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&action=edit">edit</a>]}; + my $linkval = "attachment.cgi?id=$attachid&action=edit"; + return qq{<a href="$linkval" class="$className" title="$title">$link_text</a>}; } else { return qq{$link_text}; |