diff --git a/xpfe/communicator/resources/content/builtinURLs.js b/xpfe/communicator/resources/content/builtinURLs.js index b5704623c72..5eb537454f3 100644 --- a/xpfe/communicator/resources/content/builtinURLs.js +++ b/xpfe/communicator/resources/content/builtinURLs.js @@ -152,9 +152,13 @@ function xlateURL(key) function loadXURL(key) { - debug_dump("loadXURL call with " + key + "\n"); + debug_dump("loadXURL call with " + key + "\n"); - window._content.location.href = xlateURL(key); + var url = xlateURL(key); + if (window._content) + window._content.location.href = url; + else + window.open(url); // on mac, there maybe no open windows: see bug 83329 } loadDS();