mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Merge branch 'develop'
This commit is contained in:
commit
7d84584d2b
4 changed files with 12 additions and 2 deletions
|
|
@ -1,6 +1,10 @@
|
|||
0.3.9 (04-11-2017)
|
||||
=========================
|
||||
- Removed incorrect timeout waiting on init
|
||||
|
||||
0.3.8 (01-11-2017)
|
||||
=========================
|
||||
- Use browser.local.storage instead of localStorage
|
||||
- Use browser.storage.local instead of localStorage
|
||||
- Switched some functions to promise
|
||||
|
||||
0.3.7 (22-10-2017)
|
||||
|
|
|
|||
|
|
@ -130,6 +130,11 @@ kpxcEvent.onSaveSettings = function(callback, tab, settings) {
|
|||
|
||||
kpxcEvent.onGetStatus = function(callback, tab) {
|
||||
keepass.testAssociation((response) => {
|
||||
if (!response) {
|
||||
kpxcEvent.showStatus(false, tab, callback);
|
||||
return;
|
||||
}
|
||||
|
||||
keepass.isConfigured().then((configured) => {
|
||||
kpxcEvent.showStatus(configured, tab, callback);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ keepass.migrateKeyRing().then(() => {
|
|||
page.initOpenedTabs().then(() => {
|
||||
keepass.connectToNative();
|
||||
keepass.generateNewKeyPair();
|
||||
keepass.changePublicKeys(null, keepass.messageTimeout).then((pkRes) => {
|
||||
keepass.changePublicKeys(null).then((pkRes) => {
|
||||
keepass.getDatabaseHash((gdRes) => {}, null);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@ page.initOpenedTabs = function() {
|
|||
// set initial tab-ID
|
||||
browser.tabs.query({ "active": true, "currentWindow": true }).then((tabs) => {
|
||||
if (tabs.length === 0) {
|
||||
resolve();
|
||||
return; // For example: only the background devtools or a popup are opened
|
||||
}
|
||||
page.currentTabId = tabs[0].id;
|
||||
|
|
|
|||
Loading…
Reference in a new issue