a35f9a5226
Set the key focus to the password field only after we got a request
(and therefore know that a password is requested) instead of using
`setInitialKeyFocus()`. This way we don't try to focus the password
field by default if we aren't showing it (e.g. in case the user has no
password or is using fingerprint login).
Also we have to move the call to `grab_key_focus()` to happen after
`_ensureOpen()`, because otherwise the ModalDialog will set the focus to
one of the buttons while opening itself.
Cherry-picked from commit
|
||
---|---|---|
.. | ||
__init__.js | ||
automountManager.js | ||
autorunManager.js | ||
keyring.js | ||
networkAgent.js | ||
polkitAgent.js | ||
telepathyClient.js |