mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-06 05:28:51 +02:00
firefox: show popup when click "vault is locked" (#314)
* small lint error * show popup when click "vault is locked" * moved to loadNoLoginsContextMenuOptions
This commit is contained in:
parent
77c3daed0e
commit
37907fbf42
@ -198,6 +198,11 @@ var bg_isBackground = true,
|
||||
bg_passwordGenerationService.addHistory(password);
|
||||
});
|
||||
}
|
||||
else if (info.menuItemId === 'autofill_noop') {
|
||||
if (bg_utilsService.isFirefox() && chrome.browserAction.openPopup) {
|
||||
chrome.browserAction.openPopup();
|
||||
}
|
||||
}
|
||||
else if (info.parentMenuItemId === 'autofill' || info.parentMenuItemId === 'copy-username' ||
|
||||
info.parentMenuItemId === 'copy-password') {
|
||||
var id = info.menuItemId.split('_')[1];
|
||||
|
@ -31,7 +31,7 @@ function initCryptoService(constantsService) {
|
||||
}
|
||||
|
||||
return self.utilsService.saveObjToStorage(keyKey, key.keyB64);
|
||||
})
|
||||
});
|
||||
};
|
||||
|
||||
CryptoService.prototype.setKeyHash = function (keyHash, callback) {
|
||||
|
Loading…
Reference in New Issue
Block a user