diff options
author | lpsolit%gmail.com <> | 2007-05-15 00:56:29 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2007-05-15 00:56:29 +0200 |
commit | d48ca3b1db102bb50b831ce0f9bbbf7117afedd8 (patch) | |
tree | e117c17bd33808abebd0c3a02a6613fbf51a998e /template/en/default/list | |
parent | 3941c84b967f6d35062c429728b252e26bcd080d (diff) | |
download | bugzilla-d48ca3b1db102bb50b831ce0f9bbbf7117afedd8.tar.gz bugzilla-d48ca3b1db102bb50b831ce0f9bbbf7117afedd8.tar.xz |
Bug 80169: JavaScript-enhanced keyword editing - Patch by Teemu Mannermaa <wicked@etlicon.fi> r=justdave a=LpSolit
Diffstat (limited to 'template/en/default/list')
-rw-r--r-- | template/en/default/list/edit-multiple.html.tmpl | 9 | ||||
-rw-r--r-- | template/en/default/list/list.html.tmpl | 1 |
2 files changed, 9 insertions, 1 deletions
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 @@ </label> </th> <td colspan="3"> - <input id="keywords" name="keywords" size="32"> + <input id="keywords" name="keywords" size="32" + onfocus = "this.chooser.open();"> <select name="keywordaction"> <option value="add">Add these keywords</option> <option value="delete">Delete these keywords</option> @@ -238,6 +239,12 @@ </table> +[% IF use_keywords %] + [% PROCESS "bug/keyword-chooser.html.tmpl" + sel_keywords = keywords.split(', ') + %] +[% END %] + <b><label for="comment">Additional Comments:</label></b><br> [% INCLUDE global/textarea.html.tmpl name = 'comment' diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl index dfed2f024..823ca2a10 100644 --- a/template/en/default/list/list.html.tmpl +++ b/template/en/default/list/list.html.tmpl @@ -49,6 +49,7 @@ title = title style = style atomlink = "buglist.cgi?$urlquerypart&title=$title&ctype=atom" + javascript_urls = [ "js/util.js", "js/keyword-chooser.js" ] %] <div class="bz_query_head" align="center"> |