Bug 175893 Make XUL <tab>'s focusable
Relanding missing line from tabbrowser.xml following landing of aviary branch - previously reviewed git-svn-id: svn://10.0.0.236/trunk@232634 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
ee56ecb2f7
commit
1327c9da15
@ -633,10 +633,11 @@
|
||||
function setFocus(element) {
|
||||
document.commandDispatcher.suppressFocusScroll = true;
|
||||
Components.lookupMethod(element, "focus").call(element);
|
||||
document.commandDispatcher.suppressFocusScroll = false;
|
||||
document.commandDispatcher.suppressFocusScroll = false;
|
||||
}
|
||||
|
||||
setTimeout(setFocus, 0, window.content);
|
||||
// Use setTimeout to avoid focus outline ghosting.
|
||||
setTimeout(setFocus, 0, whatToFocus);
|
||||
]]>
|
||||
</body>
|
||||
</method>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user