Commit ef3ef0d4 authored by jake%bugzilla.org's avatar jake%bugzilla.org

Bug 274906 - Bugzilla no longer displays an [edit] link inline for attachments.…

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
parent cc8d6d39
......@@ -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};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment