mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00: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:
committed by
Kyle Spearrin
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];
|
||||
|
||||
Reference in New Issue
Block a user