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:
authorSami Vänttinen <sami.vanttinen@protonmail.com>2022-09-04 12:13:54 +0300
committerGitHub <noreply@github.com>2022-09-04 12:13:54 +0300
commit908cd410370e8bfc1b2d8fee05193540badaa5ca (patch)
treeb01e94485fbe146a899f1d048481425cbdf2adfb
parentb3917105e074a6a09e1cc0ca453d3ffc4b18e4dc (diff)
parent6953510a8a178e2d37232cf3c48e1489cea89d2e (diff)
Merge pull request #1709 from keepassxreboot/fix/various_for_182
Small fixes for 1.8.2
-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);