From ef3ef0d4fd126999677694787f7fc5cac07a46a7 Mon Sep 17 00:00:00 2001
From: "jake%bugzilla.org" <>
Date: Tue, 26 Apr 2005 23:38:35 +0000
Subject: 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
---
globals.pl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'globals.pl')
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{$link_text [edit]};
+ my $linkval = "attachment.cgi?id=$attachid&action=edit";
+ return qq{$link_text};
}
else {
return qq{$link_text};
--
cgit v1.2.3-24-g4f1b