From d48ca3b1db102bb50b831ce0f9bbbf7117afedd8 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Mon, 14 May 2007 22:56:29 +0000 Subject: Bug 80169: JavaScript-enhanced keyword editing - Patch by Teemu Mannermaa r=justdave a=LpSolit --- template/en/default/bug/create/create.html.tmpl | 10 ++- template/en/default/bug/create/created.html.tmpl | 1 + template/en/default/bug/edit.html.tmpl | 13 +++- template/en/default/bug/keyword-chooser.html.tmpl | 91 +++++++++++++++++++++++ template/en/default/bug/process/header.html.tmpl | 4 +- template/en/default/bug/show.html.tmpl | 1 + template/en/default/filterexceptions.pl | 1 + template/en/default/list/edit-multiple.html.tmpl | 9 ++- template/en/default/list/list.html.tmpl | 1 + 9 files changed, 125 insertions(+), 6 deletions(-) create mode 100644 template/en/default/bug/keyword-chooser.html.tmpl (limited to 'template') diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl index af7285cac..883db1893 100644 --- a/template/en/default/bug/create/create.html.tmpl +++ b/template/en/default/bug/create/create.html.tmpl @@ -31,7 +31,7 @@ [% PROCESS global/header.html.tmpl title = title style_urls = [ 'skins/standard/create_attachment.css' ] - javascript_urls = [ "js/attachment.js" ] + javascript_urls = [ "js/attachment.js", "js/util.js", "js/keyword-chooser.js" ] %] diff --git a/template/en/default/bug/process/header.html.tmpl b/template/en/default/bug/process/header.html.tmpl index f15648c7d..dd384ad51 100644 --- a/template/en/default/bug/process/header.html.tmpl +++ b/template/en/default/bug/process/header.html.tmpl @@ -42,4 +42,6 @@ [% title = "Change Votes" %] [% END %] -[% PROCESS global/header.html.tmpl %] +[% PROCESS global/header.html.tmpl + javascript_urls = [ "js/util.js", "js/keyword-chooser.js" ] + %] diff --git a/template/en/default/bug/show.html.tmpl b/template/en/default/bug/show.html.tmpl index c652773e8..326c7821f 100644 --- a/template/en/default/bug/show.html.tmpl +++ b/template/en/default/bug/show.html.tmpl @@ -40,6 +40,7 @@ "bz_component_$bug.component", "bz_bug_$bug.bug_id" ] + javascript_urls = [ "js/util.js", "js/keyword-chooser.js" ] %] [% END %] diff --git a/template/en/default/filterexceptions.pl b/template/en/default/filterexceptions.pl index cc2e060ee..ac579115b 100644 --- a/template/en/default/filterexceptions.pl +++ b/template/en/default/filterexceptions.pl @@ -315,6 +315,7 @@ '" colspan=\"$colspan\"" IF colspan', '" size=\"$size\"" IF size', '" maxlength=\"$maxlength\"" IF maxlength', + '" onfocus=\"$onfocus\"" IF onfocus', 'flag.status', ], diff --git a/template/en/default/list/edit-multiple.html.tmpl b/template/en/default/list/edit-multiple.html.tmpl index 667ad1b27..668445995 100644 --- a/template/en/default/list/edit-multiple.html.tmpl +++ b/template/en/default/list/edit-multiple.html.tmpl @@ -204,7 +204,8 @@ - +