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

Unified Diff: chrome/content/composer.js

Issue 8788069: Fixed: EHH - Filter creating window won't close (Closed)
Patch Set: Created Nov. 8, 2012, 9:55 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/content/composer.js
===================================================================
--- a/chrome/content/composer.js
+++ b/chrome/content/composer.js
@@ -135,6 +135,7 @@
var element = window.arguments[0];
doc = element.ownerDocument;
var wnd = doc.defaultView;
+ wnd.addEventListener("unload", function(event){ togglePreview(false); }, true);
Wladimir Palant 2012/11/08 10:42:34 So togglePreview() is the issue? Then this is the
Andrey Novikov 2012/11/08 10:54:54 Exact issue is that previewStyle is dead object af
// Check whether element hiding group is disabled
let subscription = AdblockPlus.getSubscription("~eh~");
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld