diff options
| author | Jez Ng | 2012-09-03 18:48:00 -0700 |
|---|---|---|
| committer | Jez Ng | 2012-09-03 18:48:00 -0700 |
| commit | 4ac7f76a10caaa1c7483b6fdfdbb30d386ab0033 (patch) | |
| tree | 3e485ab2b03881026b1e22e030be67a953951374 /background_scripts/main.coffee | |
| parent | 5a42c4909ac990d87399c939903aebc4d8b26309 (diff) | |
| parent | 61ae9a0c69ce716a15e9347413441cc257e18faa (diff) | |
| download | vimium-4ac7f76a10caaa1c7483b6fdfdbb30d386ab0033.tar.bz2 | |
Merge pull request #640 from mgarriott/get_showadvanced_from_settings
The help dialog now gets showAdvancedCommands directly from settings.
Diffstat (limited to 'background_scripts/main.coffee')
| -rw-r--r-- | background_scripts/main.coffee | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index c392f967..5c10b9ae 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -90,8 +90,6 @@ root.addExcludedUrl = (url) -> chrome.tabs.query({ windowId: chrome.windows.WINDOW_ID_CURRENT, active: true }, (tabs) -> updateActiveState(tabs[0].id)) -getShowAdvancedCommands = (request) -> Settings.get("helpDialog_showAdvancedCommands") - saveHelpDialogSettings = (request) -> Settings.set("helpDialog_showAdvancedCommands", request.showAdvancedCommands) @@ -110,8 +108,6 @@ root.helpDialogHtml = (showUnboundCommands, showCommandNames, customTitle) -> showUnboundCommands, showCommandNames)) dialogHtml = dialogHtml.replace("{{version}}", currentVersion) dialogHtml = dialogHtml.replace("{{title}}", customTitle || "Help") - dialogHtml = dialogHtml.replace("{{showAdvancedCommands}}", - Settings.get("helpDialog_showAdvancedCommands")) dialogHtml # @@ -543,7 +539,6 @@ portHandlers = sendRequestHandlers = getCompletionKeys: getCompletionKeysRequest, getCurrentTabUrl: getCurrentTabUrl, - getShowAdvancedCommands: getShowAdvancedCommands, openUrlInNewTab: openUrlInNewTab, openUrlInCurrentTab: openUrlInCurrentTab, openOptionsPageInNewTab: openOptionsPageInNewTab, |
