mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Small fixes for 1.8.2
This commit is contained in:
parent
411e9194a3
commit
6953510a8a
1 changed files with 6 additions and 2 deletions
|
|
@ -92,7 +92,7 @@ kpxcFill.fillFromAutofill = async function() {
|
|||
|
||||
// Fill requested by selecting credentials from the popup
|
||||
kpxcFill.fillFromPopup = async function(id, uuid) {
|
||||
if (!kpxc.credentials.length === 0 || !kpxc.credentials[id] || kpxc.combinations.length === 0) {
|
||||
if (kpxc.credentials.length === 0 || !kpxc.credentials[id] || kpxc.combinations.length === 0) {
|
||||
logDebug('Error: Credential list is empty.');
|
||||
return;
|
||||
}
|
||||
|
|
@ -304,13 +304,17 @@ kpxcFill.fillInStringFields = function(fields, stringFields) {
|
|||
|
||||
// Performs Auto-Submit. If filling single credentials is enabled, a 5 second timeout will be needed for fill
|
||||
kpxcFill.performAutoSubmit = async function(combination, skipAutoSubmit) {
|
||||
if (!kpxc.settings.autoSubmit) {
|
||||
return;
|
||||
}
|
||||
|
||||
const isAutoSubmitPerformed = await sendMessage('page_get_autosubmit_performed');
|
||||
if (isAutoSubmitPerformed && kpxc.settings.autoFillSingleEntry) {
|
||||
return;
|
||||
}
|
||||
|
||||
const autoSubmitIgnoredForSite = await kpxc.siteIgnored(IGNORE_AUTOSUBMIT);
|
||||
if (kpxc.settings.autoSubmit && !skipAutoSubmit && !autoSubmitIgnoredForSite) {
|
||||
if (!skipAutoSubmit && !autoSubmitIgnoredForSite) {
|
||||
await sendMessage('page_set_autosubmit_performed');
|
||||
|
||||
const submitButton = kpxcForm.getFormSubmitButton(combination.form);
|
||||
|
|
|
|||
Loading…
Reference in a new issue