From 4a60e71d186349d82384aa4f59841d458c42213e Mon Sep 17 00:00:00 2001 From: Jez Ng Date: Mon, 29 Oct 2012 20:19:55 -0400 Subject: Move a bunch of stuff under pages/ for tidiness. Also correct a bug with the show / hide advanced commands button. --- background_scripts/main.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'background_scripts') 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] -- cgit v1.2.3