diff options
author | lpsolit%gmail.com <> | 2006-12-27 08:56:49 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-12-27 08:56:49 +0000 |
commit | dfbb7c24797d92c8ba616b400100cf293ce4797f (patch) | |
tree | bb05f919e5f8a32ec22077d94afa394f9362f700 | |
parent | Bug 364780: The keyword cache cannot be fixed with editkeywords privs only - ... (diff) | |
download | bugzilla-dfbb7c24797d92c8ba616b400100cf293ce4797f.tar.gz bugzilla-dfbb7c24797d92c8ba616b400100cf293ce4797f.tar.bz2 bugzilla-dfbb7c24797d92c8ba616b400100cf293ce4797f.zip |
Bug 364851: Some accesskeys are duplicated when viewing a bug - Patch by Reed Loden <reed@reedloden.com> r=LpSolit a=justdave
-rw-r--r-- | template/en/default/bug/edit.html.tmpl | 6 | ||||
-rw-r--r-- | template/en/default/filterexceptions.pl | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index d3e2d8d4f..8667ea156 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -655,9 +655,10 @@ [% END %] </td> <td> - <input name="[% dep.fieldname %]" accesskey="[% accesskey %]" + <input name="[% dep.fieldname %]" [% " accesskey=\"$accesskey\"" IF accesskey %] value="[% bug.${dep.fieldname}.join(', ') %]"> </td> + [% accesskey = undef %] [% END %] @@ -667,7 +668,7 @@ [% BLOCK select %] <td> - <label for="[% selname %]" accesskey="[% accesskey %]"> + <label for="[% selname %]"[% " accesskey=\"$accesskey\"" IF accesskey %]> <select name="[% selname %]" id="[% selname %]"> [% FOREACH x = bug.choices.${selname} %] <option value="[% x FILTER html %]" @@ -677,4 +678,5 @@ </select> </label> </td> + [% accesskey = undef %] [% END %] diff --git a/template/en/default/filterexceptions.pl b/template/en/default/filterexceptions.pl index 9c9fa940c..9f33340b4 100644 --- a/template/en/default/filterexceptions.pl +++ b/template/en/default/filterexceptions.pl @@ -320,7 +320,7 @@ 'group.bit', 'dep.title', 'dep.fieldname', - 'accesskey', + '" accesskey=\"$accesskey\"" IF accesskey', 'bug.${dep.fieldname}.join(\', \')', 'selname', ], |