Merge pull request #414 from keepassxreboot/fix_shortcuts

Fix shortcuts
This commit is contained in:
Sami Vänttinen 2019-02-20 05:58:21 +02:00 committed by GitHub
commit c3a36027b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,12 +54,12 @@ browser.runtime.onMessage.addListener(function(req, sender, callback) {
cipForm.destroy(false, {'password': list.list[0], 'username': list.list[1]});
}
}
} else if (req.action === 'fill_user_pass') {
} else if (req.action === 'fill_username_password') {
_called.manualFillRequested = 'both';
cip.receiveCredentialsIfNecessary().then((response) => {
cip.fillInFromActiveElement(false);
});
} else if (req.action === 'fill_pass_only') {
} else if (req.action === 'fill_password') {
_called.manualFillRequested = 'pass';
cip.receiveCredentialsIfNecessary().then((response) => {
cip.fillInFromActiveElement(false, true); // passOnly to true