Author: bbrossaud Date: 2010-05-11 09:15:52 +0200 (Tue, 11 May 2010) New Revision: 16 Url: http://chorem.org/repositories/revision/bow/16 Log: Bookmark addition with the javascript works now Modified: trunk/src/main/webapp/generateToken.jsp Modified: trunk/src/main/webapp/generateToken.jsp =================================================================== --- trunk/src/main/webapp/generateToken.jsp 2010-05-10 16:47:41 UTC (rev 15) +++ trunk/src/main/webapp/generateToken.jsp 2010-05-11 07:15:52 UTC (rev 16) @@ -7,7 +7,7 @@ Use it to add new bookmarks without authentication : <br/><br/> -<a href="javascript:var%20url=location.href;var%20nameAndTags=prompt('Entrez%20le%20nom%20du%20lien%20et%20la%20liste%20des%20tags%20sous%20la%20forme:%20name|tag1%20tag2%20tag3',%20document.title+'|');var%20image=new%20Image();var%20link='http://localhost:8080/bow/bow?action=addUrl&token=<%=token%>&url='+encodeURIComponent(url)+'&nameAndTags='+encodeURIComponent(nameAndTags);image.src=link;document.body.appendChild(image);document.location.href=encodeURIComponent(url);">Session</a> +<a href="javascript:var%20url=location.href;var%20nameAndTags=prompt('Entrez%20le%20nom%20du%20lien%20et%20la%20liste%20des%20tags%20sous%20la%20forme:%20name|tag1%20tag2%20tag3',%20document.title+'|');var%20image=new%20Image();var%20link='http://localhost:8080/bow/bow?action=addUrl&token=<%=token%>&url='+encodeURIComponent(url)+'&nameAndTags='+encodeURIComponent(nameAndTags);image.src=link;document.body.appendChild(image);window.location=url;">Session</a> <% } else { %>