From: jake%bugzilla.org <>
Date: Tue, 26 Apr 2005 23:38:35 +0000 (+0000)
Subject: Bug 274906 - Bugzilla no longer displays an [edit] link inline for attachments. Inste...
X-Git-Tag: bugzilla-2.19.3~23
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef3ef0d4fd126999677694787f7fc5cac07a46a7;p=thirdparty%2Fbugzilla.git
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
---
diff --git a/globals.pl b/globals.pl
index d33319e980..273f677d4c 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{$link_text [edit]};
+ my $linkval = "attachment.cgi?id=$attachid&action=edit";
+ return qq{$link_text};
}
else {
return qq{$link_text};