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

Unified Diff: safari/ext/popup.js

Issue 5768552254537728: Fixed: Popup in Safari won't open after closing it programmatically (Closed)
Patch Set: Created Jan. 16, 2014, 11:18 a.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 | « popup.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: safari/ext/popup.js
===================================================================
--- a/safari/ext/popup.js
+++ b/safari/ext/popup.js
@@ -16,4 +16,9 @@
var backgroundPage = safari.extension.globalPage.contentWindow;
window.ext = backgroundPage.ext;
window.TabMap = backgroundPage.TabMap;
+
+ window.closePopup = function()
Sebastian Noack 2014/01/16 11:28:11 This should go into the ext namespace. However sin
Thomas Greiner 2014/01/16 15:17:48 Done.
+ {
+ safari.self.hide();
+ }
})();
« no previous file with comments | « popup.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld