summaryrefslogtreecommitdiffstats
path: root/attachment.cgi
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2008-09-18 06:48:56 +0200
committermkanat%bugzilla.org <>2008-09-18 06:48:56 +0200
commit427ca00367ae35af9c87d8fe3106926d65c26ec7 (patch)
treeb22d7547ce68c255ef987fa477f10d683dd53c0d /attachment.cgi
parent249bd21ac6cc1c9ef0c9f0f8e9b6b90066dd0a02 (diff)
downloadbugzilla-427ca00367ae35af9c87d8fe3106926d65c26ec7.tar.gz
bugzilla-427ca00367ae35af9c87d8fe3106926d65c26ec7.tar.xz
Bug 452734: Remove the keyword chooser, because it's a usability regression
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
Diffstat (limited to 'attachment.cgi')
-rwxr-xr-xattachment.cgi3
1 files changed, 0 insertions, 3 deletions
diff --git a/attachment.cgi b/attachment.cgi
index 64d0f6c3f..ec82b7fa4 100755
--- a/attachment.cgi
+++ b/attachment.cgi
@@ -419,7 +419,6 @@ sub insert {
$vars->{'bugs'} = [new Bugzilla::Bug($bugid)];
$vars->{'header_done'} = 1;
$vars->{'contenttypemethod'} = $cgi->param('contenttypemethod');
- $vars->{'valid_keywords'} = [map($_->name, Bugzilla::Keyword->get_all)];
$vars->{'use_keywords'} = 1 if Bugzilla::Keyword::keyword_count();
print $cgi->header();
@@ -607,7 +606,6 @@ sub update {
# since the object was created.
$vars->{'bugs'} = [new Bugzilla::Bug($bug->id)];
$vars->{'header_done'} = 1;
- $vars->{'valid_keywords'} = [map($_->name, Bugzilla::Keyword->get_all)];
$vars->{'use_keywords'} = 1 if Bugzilla::Keyword::keyword_count();
print $cgi->header();
@@ -680,7 +678,6 @@ sub delete_attachment {
# Required to display the bug the deleted attachment belongs to.
$vars->{'bugs'} = [$bug];
$vars->{'header_done'} = 1;
- $vars->{'valid_keywords'} = [map($_->name, Bugzilla::Keyword->get_all)];
$vars->{'use_keywords'} = 1 if Bugzilla::Keyword::keyword_count();
$template->process("attachment/updated.html.tmpl", $vars)