mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-09-19 05:59:02 +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 ) {
|
function LinkTo( tag, url ) {
|
||||||
tag.style.cursor = "pointer";
|
tag.style.cursor = "pointer";
|
||||||
tag.setAttribute('onClick', "Go('" + url.replace('&','&') + "')");
|
tag.setAttribute('onClick', "Go('" + url.replace(/&/g,'&') + "')");
|
||||||
tag.setAttribute('onMouseOut', "window.status='';return true;");
|
tag.setAttribute('onMouseOut', "window.status='';return true;");
|
||||||
window.status = window.location.protocol + '//' + document.domain + url;
|
window.status = window.location.protocol + '//' + document.domain + url;
|
||||||
tag.setAttribute('onMouseover', "window.status = window.location.protocol + '//' + document.domain + '" + url + "';return true;");
|
tag.setAttribute('onMouseover', "window.status = window.location.protocol + '//' + document.domain + '" + url + "';return true;");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user