Bug 575561 - External links from within app tabs should always open in new tabs instead of replacing the app tab's page. r=gavin+bz, a=blocking-beta7
authorMargaret Leibovic <margaret.leibovic@gmail.com>
Thu, 28 Oct 2010 15:00:31 -0700
changeset 25447 d779eeeabb4a9c2a4cc14cac41d33e377d28b675
parent 25446 d9acf9de71ee3fb7b8732f79f25bad64f86a89e7
child 25448 0abc52e4e1121912735e08b7429c3eccd3b2896d
push id1725
push userclokep@gmail.com
push dateMon, 19 Sep 2016 17:35:08 +0000
treeherdercomm-beta@6ead1abf3817 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgavin, blocking-beta7
bugs575561
Bug 575561 - External links from within app tabs should always open in new tabs instead of replacing the app tab's page. r=gavin+bz, a=blocking-beta7
suite/common/helpviewer/help.js
--- a/suite/common/helpviewer/help.js
+++ b/suite/common/helpviewer/help.js
@@ -557,17 +557,18 @@ nsHelpStatusHandler.prototype = {
     },
 
     init : function() {},
 
     destroy : function() {},
 
     setJSStatus : function(status) {},
     setJSDefaultStatus : function(status) {},
-    setOverLink : function(link, context) {}
+    setOverLink : function(link, context) {},
+    onBeforeLinkTraversal: function(originalTarget, linkURI, linkNode, isAppTab) {}
 }
 
 function UpdateBackForwardButtons() {
     var backBroadcaster = document.getElementById("canGoBack");
     var forwardBroadcaster = document.getElementById("canGoForward");
     var webNavigation = getWebNavigation();
 
     // Avoid setting attributes on broadcasters if the value hasn't changed!