mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-06-10 05:10:19 +00:00
Fix replacement in multi-parameter string.
This commit is contained in:
parent
84dd24a177
commit
2fa6174946
@ -11,7 +11,7 @@ function Go( url ) {
|
||||
*/
|
||||
function LinkTo( tag, url ) {
|
||||
tag.style.cursor = "pointer";
|
||||
tag.setAttribute('onClick', "Go('" + url.replace('&','&') + "')");
|
||||
tag.setAttribute('onClick', "Go('" + url.replace(/&/g,'&') + "')");
|
||||
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;");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user