mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Hide remember popup when database is closed
This commit is contained in:
parent
2596660a6e
commit
36801da0b2
1 changed files with 11 additions and 1 deletions
|
|
@ -217,7 +217,17 @@ kpxcEvent.onRemoveCredentialsFromTabInformation = function(callback, tab) {
|
|||
};
|
||||
|
||||
kpxcEvent.onSetRememberPopup = function(callback, tab, username, password, url, usernameExists, credentialsList) {
|
||||
browserAction.setRememberPopup(tab.id, username, password, url, usernameExists, credentialsList);
|
||||
keepass.testAssociation((response) => {
|
||||
if (response) {
|
||||
keepass.isConfigured().then((configured) => {
|
||||
if (configured) {
|
||||
browserAction.setRememberPopup(tab.id, username, password, url, usernameExists, credentialsList);
|
||||
}
|
||||
}).catch((e) => {
|
||||
console.log(e);
|
||||
});
|
||||
}
|
||||
}, tab);
|
||||
};
|
||||
|
||||
kpxcEvent.onLoginPopup = function(callback, tab, logins) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue