[Libreoffice-commits] .: bug/bug
Loic Dachary
loic at kemper.freedesktop.org
Thu Nov 3 02:39:15 PDT 2011
bug/bug/bug.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7d5caeb31b3bb42d2efe48f6bab1695a110ce637
Author: Loic Dachary <loic at dachary.org>
Date: Thu Nov 3 10:39:02 2011 +0100
https://bugs.freedesktop.org/show_bug.cgi?id=42525
Add missing $.bug.url when building the related bugs urls.
diff --git a/bug/bug/bug.js b/bug/bug/bug.js
index 388f04f..a875eaf 100644
--- a/bug/bug/bug.js
+++ b/bug/bug/bug.js
@@ -283,7 +283,7 @@
var lines = data.split('\n');
var bug_urls = [];
for(var i = 1; i < lines.length; i++) {
- bug_urls.push(lines[i].replace(/([0-9]*),"(.*)"/,'<a href="/show_bug.cgi?id=$1">$2</a>'));
+ bug_urls.push(lines[i].replace(/([0-9]*),"(.*)"/,'<a href="' + $.bug.url + '/show_bug.cgi?id=$1">$2</a>'));
}
$('.related_bugs').html(bug_urls.join('<br>'));
});
More information about the Libreoffice-commits
mailing list