Commit 088be66b authored by myk%mozilla.org's avatar myk%mozilla.org

Fix for bug 183774: makes duplicates.xul compute a correct base URL when jarred…

Fix for bug 183774: makes duplicates.xul compute a correct base URL when jarred so that links to bugs work. r=gerv a=myk
parent 7e0ad054
......@@ -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()
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment