diff options
author | myk%mozilla.org <> | 2004-01-26 02:47:16 +0000 |
---|---|---|
committer | myk%mozilla.org <> | 2004-01-26 02:47:16 +0000 |
commit | 088be66b9eb596c5faf21753a0b01b89161857cb (patch) | |
tree | c511c4d0d3c1a1cf58dea893e505bca43f0b52d9 | |
parent | 7e0ad054c981c119ffb1674be35d2cab8d90bec4 (diff) | |
download | bugs-088be66b9eb596c5faf21753a0b01b89161857cb.tar bugs-088be66b9eb596c5faf21753a0b01b89161857cb.tar.gz bugs-088be66b9eb596c5faf21753a0b01b89161857cb.tar.bz2 bugs-088be66b9eb596c5faf21753a0b01b89161857cb.tar.xz bugs-088be66b9eb596c5faf21753a0b01b89161857cb.zip |
Fix for bug 183774: makes duplicates.xul compute a correct base URL when jarred so that links to bugs work.
r=gerv
a=myk
-rw-r--r-- | js/duplicates.js | 2 |
1 files changed, 1 insertions, 1 deletions
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() { |