URLs seem to need to be unescaped.

This commit is contained in:
Andrew McMillan 2007-10-27 15:18:37 +13:00
parent 96a4825c88
commit e5e2002c74

View File

@ -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;");