From e5e2002c74c4d2fc5861ec708a639add6008f467 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Sat, 27 Oct 2007 15:18:37 +1300 Subject: [PATCH] URLs seem to need to be unescaped. --- htdocs/js/browse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/js/browse.js b/htdocs/js/browse.js index e1b83404..101fbde5 100644 --- a/htdocs/js/browse.js +++ b/htdocs/js/browse.js @@ -11,7 +11,7 @@ function Go( url ) { */ function LinkTo( tag, url ) { tag.style.cursor = "pointer"; - tag.setAttribute('onClick', "Go('" + url + "')"); + tag.setAttribute('onClick', "Go('" + url.replace('&','&') + "')"); tag.setAttribute('onMouseOut', "window.status='';return true;"); window.status = window.location.protocol + '//' + document.domain + url; tag.setAttribute('onMouseover', "window.status = window.location.protocol + '//' + document.domain + '" + url + "';return true;");