aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts
diff options
context:
space:
mode:
authorJez Ng2012-10-29 20:19:55 -0400
committerJez Ng2012-10-29 23:50:59 -0400
commit4a60e71d186349d82384aa4f59841d458c42213e (patch)
tree7870ef557a32b58339f891690049e8174028dc17 /background_scripts
parentaeb455a577c0a20684f357ff737203b5cb419cd4 (diff)
downloadvimium-4a60e71d186349d82384aa4f59841d458c42213e.tar.bz2
Move a bunch of stuff under pages/ for tidiness.
Also correct a bug with the show / hide advanced commands button.
Diffstat (limited to 'background_scripts')
-rw-r--r--background_scripts/main.coffee4
1 files changed, 2 insertions, 2 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee
index 90220145..0d00f9ab 100644
--- a/background_scripts/main.coffee
+++ b/background_scripts/main.coffee
@@ -101,7 +101,7 @@ root.helpDialogHtml = (showUnboundCommands, showCommandNames, customTitle) ->
command = Commands.keyToCommandRegistry[key].command
commandsToKey[command] = (commandsToKey[command] || []).concat(key)
- dialogHtml = fetchFileContents("help_dialog.html")
+ dialogHtml = fetchFileContents("pages/help_dialog.html")
for group of Commands.commandGroups
dialogHtml = dialogHtml.replace("{{#{group}}}",
helpDialogHtmlForCommandGroup(group, commandsToKey, Commands.availableCommands,
@@ -501,7 +501,7 @@ shouldShowUpgradeMessage = ->
openOptionsPageInNewTab = ->
chrome.tabs.getSelected(null, (tab) ->
- chrome.tabs.create({ url: chrome.extension.getURL("options/options.html"), index: tab.index + 1 }))
+ chrome.tabs.create({ url: chrome.extension.getURL("pages/options.html"), index: tab.index + 1 }))
registerFrame = (request, sender) ->
unless framesForTab[sender.tab.id]