Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: popup.js

Issue 6622721232338944: Issue 1268 - Correctly mimic Chrome's behavior when opening the options page (Closed)
Patch Set: Created Aug. 26, 2014, 2:43 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/ext/background.js ('k') | safari/ext/background.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: popup.js
===================================================================
--- a/popup.js
+++ b/popup.js
@@ -16,7 +16,7 @@
*/
var backgroundPage = ext.backgroundPage.getWindow();
-var imports = ["require", "extractHostFromURL", "openOptions"];
+var imports = ["require", "extractHostFromURL"];
for (var i = 0; i < imports.length; i++)
window[imports[i]] = backgroundPage[imports[i]];
@@ -60,7 +60,7 @@
document.getElementById("clickhide-cancel").addEventListener("click", cancelClickHide, false);
document.getElementById("options").addEventListener("click", function()
{
- openOptions();
+ ext.showOptions();
}, false);
// Set up collapsing of menu items
« no previous file with comments | « chrome/ext/background.js ('k') | safari/ext/background.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld