diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2012-10-12 20:27:41 +0200 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2012-10-12 20:27:41 +0200 |
commit | 6ab27a576d4a3d1a00ecb62afc9ce67fb0f68319 (patch) | |
tree | 1bb8e7421094e06179c513c0b1f68bdaa59d6c74 /extensions/Needinfo | |
parent | 3b4065719921c2dc6f620aa5aa17d33c7d6d1c95 (diff) | |
download | bugzilla-6ab27a576d4a3d1a00ecb62afc9ce67fb0f68319.tar.gz bugzilla-6ab27a576d4a3d1a00ecb62afc9ce67fb0f68319.tar.xz |
Bug 798367 - The element focused after pressing <tab> in a comment box should be the "submit comment" button
Diffstat (limited to 'extensions/Needinfo')
-rw-r--r-- | extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl b/extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl index 8810b5f21..516ec0087 100644 --- a/extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl +++ b/extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl @@ -83,4 +83,14 @@ </span> [% END %] </div> + <script> + // HACK: Shift the needinfo container to a different location + // below commit button but before status drop down. This allows + // for better tab navigation + YAHOO.util.Event.onDOMReady(function() { + var needinfo = YAHOO.util.Dom.get('needinfo_container'); + var status = YAHOO.util.Dom.get('bug_status_bottom'); + status.parentNode.insertBefore(needinfo, status); + }); + </script> [% END %] |