Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc-browser.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarjolintu <sami.vanttinen@protonmail.com>2022-09-03 13:27:20 +0300
committervarjolintu <sami.vanttinen@protonmail.com>2022-09-03 13:27:20 +0300
commit6953510a8a178e2d37232cf3c48e1489cea89d2e (patch)
tree8ac746ad24b91d7d6ba2f91df7205dcbd40e92ea
parent411e9194a3ba5b83cac84ce6ad2e5b3d48b9873a (diff)
Small fixes for 1.8.2fix/various_for_182
-rw-r--r--keepassxc-browser/content/fill.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/keepassxc-browser/content/fill.js b/keepassxc-browser/content/fill.js
index 345a4f5..7bf07d0 100644
--- a/keepassxc-browser/content/fill.js
+++ b/keepassxc-browser/content/fill.js
@@ -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);