Date: 12 Jul 2002 21:01:13 +0200 From: Yann Droneaud <ydroneaud@meuh.eu.org> To: freebsd-cvsweb@FreeBSD.org Subject: [PATCH] download + javascript Message-ID: <86bs9c6a9y.fsf@random.chezwam.org>
next in thread | raw e-mail | index | archive | help
--=-=-= Hi, I got some problems when clicking on "download" links, it reports me error. So i try to fix it. Here is the result. It set the javascript link to be like the html link. It seems to work for me. Regards ... -- Yann Droneaud <ydroneaud@meuh.eu.org> +33 6 88 40 82 43 <ydroneaud@tuxfamily.org> <yann.droneaud@iupmime.univ-lemans.fr> 1024D/BEA43321 5D91 B5B0 5137 B8FE 6882 FE19 CAA0 6F05 BEA4 3321 http://www.meuh.eu.org/ http://www-iupmime.univ-lemans.fr/ --=-=-= Content-Disposition: attachment; filename=patch-freebsd-cvsweb-javascript.diff Content-Description: patch javascript download link =================================================================== RCS file: /home/ncvs/projects/cvsweb/cvsweb.cgi,v retrieving revision 1.114 diff -u -r1.114 cvsweb.cgi --- cvsweb.cgi 2002/07/10 15:30:56 1.114 +++ cvsweb.cgi 2002/07/12 18:28:16 @@ -3467,7 +3493,7 @@ # the same window *twice*. printf q` onclick="window.open('%s','cvs_checkout','%s');return false"`, - hrefquote($fullurl), join (',', @attr); + hrefquote("$fullurl$barequery"), join (',', @attr); } } print "><b>$textlink</b></a>"; --=-=-=-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-cvsweb" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86bs9c6a9y.fsf>