diff options
| author | Stephen Blott | 2015-05-29 10:30:25 +0100 | 
|---|---|---|
| committer | Stephen Blott | 2015-05-29 10:31:12 +0100 | 
| commit | 17e233a2bdbb725a14b9aa363ed659a5bd9feeb2 (patch) | |
| tree | 708d490d2b985dbf65cb24d81d7a4fbcb204ff06 /background_scripts | |
| parent | 4fc96415b0e01d7b0a68f74578ab9c69d5a0dd1a (diff) | |
| download | vimium-17e233a2bdbb725a14b9aa363ed659a5bd9feeb2.tar.bz2 | |
Pass command's registry entry to content script.
Diffstat (limited to 'background_scripts')
| -rw-r--r-- | background_scripts/main.coffee | 14 | 
1 files changed, 7 insertions, 7 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index a13d9d98..e7a1f82c 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -558,13 +558,13 @@ checkKeyQueue = (keysToCheck, tabId, frameId) ->      if runCommand        if not registryEntry.isBackgroundCommand -        chrome.tabs.sendMessage(tabId, -          name: "executePageCommand", -          command: registryEntry.command, -          frameId: frameId, -          count: count, -          passCountToFunction: registryEntry.passCountToFunction, -          completionKeys: generateCompletionKeys("")) +        chrome.tabs.sendMessage tabId, +          name: "executePageCommand" +          command: registryEntry.command +          frameId: frameId +          count: count +          completionKeys: generateCompletionKeys "" +          registryEntry: registryEntry          refreshedCompletionKeys = true        else          if registryEntry.passCountToFunction  | 
