Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Merge pull request #6250 from bsclifton/hamburger-hold-the-pickles
Browse files Browse the repository at this point in the history
Put back in handler for null/empty context menu detail. This is requi…
  • Loading branch information
bsclifton authored Dec 16, 2016
2 parents 8d7c268 + e0770b1 commit 71bc241
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/stores/windowStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -658,9 +658,10 @@ const doAction = (action) => {
case windowConstants.WINDOW_AUTOFILL_POPUP_HIDDEN:
case windowConstants.WINDOW_SET_CONTEXT_MENU_DETAIL:
if (!action.detail) {
windowState = windowState.delete('contextMenuDetail')

if (windowState.getIn(['contextMenuDetail', 'type']) === 'autofill' &&
windowState.getIn(['contextMenuDetail', 'tabId']) === action.tabId) {
windowState = windowState.delete('contextMenuDetail')
if (action.notify) {
ipc.send('autofill-popup-hidden', action.tabId)
}
Expand Down

0 comments on commit 71bc241

Please sign in to comment.