From 088be66b9eb596c5faf21753a0b01b89161857cb Mon Sep 17 00:00:00 2001 From: "myk%mozilla.org" <> Date: Mon, 26 Jan 2004 02:47:16 +0000 Subject: Fix for bug 183774: makes duplicates.xul compute a correct base URL when jarred so that links to bugs work. r=gerv a=myk --- js/duplicates.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/duplicates.js b/js/duplicates.js index b1e94a8a6..ccad539e3 100644 --- a/js/duplicates.js +++ b/js/duplicates.js @@ -22,7 +22,7 @@ window.addEventListener('load', loadData, false); // The base URL of this Bugzilla installation; derived from the page's URL. -var gBaseURL = window.location.href.replace(/duplicates\.(jar!|xul).*/, ""); +var gBaseURL = window.location.href.replace(/(jar:)?(.*?)duplicates\.(jar!|xul).*/, "$2"); function loadData() { -- cgit v1.2.3-24-g4f1b