diff options
Diffstat (limited to 'background_scripts')
| -rw-r--r-- | background_scripts/main.coffee | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index b8c015d7..0b19ce4a 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -657,6 +657,10 @@ handleFrameFocused = (request, sender) ->    if frameIdsForTab[tabId]?      frameIdsForTab[tabId] =        [request.frameId, (frameIdsForTab[tabId].filter (id) -> id != request.frameId)...] +  # Inform all frames that a frame has received the focus. +  chrome.tabs.sendMessage sender.tab.id,  +    name: "frameFocused" +    frameId: request.frameId  # Send a message to a all frames in the current tab.  sendMessageToFrames = (request, sender) ->  | 
