1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 06:43:35 +00:00

field icon and open popup

This commit is contained in:
Kyle Spearrin
2016-09-29 00:14:15 -04:00
parent bbb78bee02
commit 7cc2961b23
3 changed files with 81 additions and 12 deletions

View File

@@ -22,6 +22,12 @@ chrome.runtime.onMessage.addListener(function (msg, sender, sendResponse) {
else if (msg.command === 'syncCompleted' && msg.successfully) {
setTimeout(refreshBadgeAndMenu, 2000);
}
else if (msg.command === 'bgOpenOverlayPopup') {
messageCurrentTab('openOverlayPopup', msg.data);
}
else if (msg.command === 'bgCloseOverlayPopup') {
messageCurrentTab('closeOverlayPopup');
}
});
userService.isAuthenticated(function (isAuthenticated) {