From 427ca00367ae35af9c87d8fe3106926d65c26ec7 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Thu, 18 Sep 2008 04:48:56 +0000 Subject: Bug 452734: Remove the keyword chooser, because it's a usability regression Patch By Max Kanat-Alexander r=LpSolit, a=mkanat --- template/en/default/bug/create/create.html.tmpl | 11 +++-------- template/en/default/bug/create/created.html.tmpl | 2 +- template/en/default/bug/edit.html.tmpl | 11 +---------- template/en/default/bug/process/header.html.tmpl | 2 +- template/en/default/bug/show.html.tmpl | 2 +- 5 files changed, 7 insertions(+), 21 deletions(-) (limited to 'template/en/default/bug') diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl index 9b522f2a7..d9eab0e04 100644 --- a/template/en/default/bug/create/create.html.tmpl +++ b/template/en/default/bug/create/create.html.tmpl @@ -32,7 +32,7 @@ title = title style_urls = [ 'skins/standard/create_attachment.css', 'skins/standard/yui/calendar.css' ] - javascript_urls = [ "js/attachment.js", "js/util.js", "js/keyword-chooser.js", + javascript_urls = [ "js/attachment.js", "js/util.js", "js/yui/yahoo-dom-event.js", "js/yui/calendar.js", "js/field.js" ] %] @@ -531,7 +531,8 @@ function handleWantsAttachment(wants_attachment) { Keywords: - (optional) + (optional) [% END %] @@ -600,12 +601,6 @@ function handleWantsAttachment(wants_attachment) { -[% IF use_keywords %] - [% PROCESS "bug/keyword-chooser.html.tmpl" - sel_keywords = keywords.split(', ') - %] -[% END %] - [%# Links or content with more information about the bug being created. %] [% Hook.process("end") %] diff --git a/template/en/default/bug/create/created.html.tmpl b/template/en/default/bug/create/created.html.tmpl index 1cf2a14f7..6226fdc64 100644 --- a/template/en/default/bug/create/created.html.tmpl +++ b/template/en/default/bug/create/created.html.tmpl @@ -36,7 +36,7 @@ [% PROCESS global/header.html.tmpl title = "$terms.Bug $id Submitted" - javascript_urls = [ "js/util.js", "js/keyword-chooser.js", "js/field.js", + javascript_urls = [ "js/util.js", "js/field.js", "js/yui/yahoo-dom-event.js", "js/yui/calendar.js" ] style_urls = [ "skins/standard/yui/calendar.css", "skins/standard/show_bug.css" ] diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index 89d5319fa..6d60d8eb9 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -280,12 +280,6 @@ -[% IF use_keywords %] - [% PROCESS "bug/keyword-chooser.html.tmpl" - sel_keywords = bug.keywords.split(', ') - %] -[% END %] - [%############################################################################%] [%# Block for the Title (alias and short desc) #%] [%############################################################################%] @@ -631,8 +625,7 @@ Keywords: [% PROCESS input inputname => "keywords" size => 40 colspan => 2 - value => bug.keywords.join(', ') - onfocus => "this.chooser.open()" %] + value => bug.keywords.join(', ') %] [% END %] [% END %] @@ -1097,7 +1090,6 @@ [% ELSE %] [% IF size && val.length > size %] @@ -1116,7 +1108,6 @@ [% colspan = 0 %] [% size = 0 %] [% value = undef %] - [% onfocus = undef %] [% spellcheck = undef %] [% END %] diff --git a/template/en/default/bug/process/header.html.tmpl b/template/en/default/bug/process/header.html.tmpl index 5472aa7dd..4aecfc1b8 100644 --- a/template/en/default/bug/process/header.html.tmpl +++ b/template/en/default/bug/process/header.html.tmpl @@ -42,7 +42,7 @@ [% END %] [% PROCESS global/header.html.tmpl - javascript_urls = [ "js/util.js", "js/keyword-chooser.js", "js/field.js", + javascript_urls = [ "js/util.js", "js/field.js", "js/yui/yahoo-dom-event.js", "js/yui/calendar.js" ] style_urls = [ "skins/standard/yui/calendar.css", "skins/standard/show_bug.css" ] doc_section = "bug_page.html" diff --git a/template/en/default/bug/show.html.tmpl b/template/en/default/bug/show.html.tmpl index 373cfa327..cf6127413 100644 --- a/template/en/default/bug/show.html.tmpl +++ b/template/en/default/bug/show.html.tmpl @@ -44,7 +44,7 @@ subheader = filtered_desc header_addl_info = "Last modified: $filtered_timestamp" bodyclasses = bodyclasses - javascript_urls = [ "js/util.js", "js/keyword-chooser.js", "js/field.js", + javascript_urls = [ "js/util.js", "js/field.js", "js/yui/yahoo-dom-event.js", "js/yui/calendar.js" ] style_urls = [ "skins/standard/yui/calendar.css", "skins/standard/show_bug.css" ] doc_section = "bug_page.html" -- cgit v1.2.3-24-g4f1b