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

Unified Diff: lib/appSupport.js

Issue 6325312296058880: issue #290 - [seamonkey] blockable items list persists on tab changes (Closed)
Patch Set: Created July 8, 2014, 11:56 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: lib/appSupport.js
===================================================================
--- a/lib/appSupport.js
+++ b/lib/appSupport.js
@@ -359,6 +359,14 @@
return (browser ? browser.currentURI : null);
}
};
+
+ // for Seamonkey we have to ignore same document flag because of
+ // bug #1035171 (https://bugzilla.mozilla.org/show_bug.cgi?id=1035171)
+ let origAddBrowserLocationListener = exports.addBrowserLocationListener;
+ exports.addBrowserLocationListener = function sm_addBrowserLocationListener(window, callback, ignoreSameDoc)
+ {
+ origAddBrowserLocationListener(window, callback, false);
+ };
exports.contentContextMenu = ["contentAreaContextMenu", "mailContext"];
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld