Bug 366084: Don't let numeric accesskeys conflict with tab switching, patch by Simon Bünzli <zeniko@gmail.com>, r=mats.palmgren, ui-r=beltzner

git-svn-id: svn://10.0.0.236/trunk@218658 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
gavin%gavinsharp.com 2007-01-19 04:29:19 +00:00
parent c9cf6824cd
commit b94099f90c

View File

@ -1382,7 +1382,8 @@ function ctrlNumberTabSelection(event)
if (!event.metaKey)
#else
#ifdef XP_UNIX
if (!event.altKey)
// don't let tab selection clash with numeric accesskeys (bug 366084)
if (!event.altKey || event.shiftKey)
#else
if (!event.ctrlKey)
#endif