You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2011/09/17 20:23:09 UTC
[jira] [Resolved] (WICKET-3773) Onclick Script displayed as Link
Text
[ https://issues.apache.org/jira/browse/WICKET-3773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-3773.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.5.1
Assignee: Igor Vaynberg
> Onclick Script displayed as Link Text
> -------------------------------------
>
> Key: WICKET-3773
> URL: https://issues.apache.org/jira/browse/WICKET-3773
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4.17
> Reporter: bernard
> Assignee: Igor Vaynberg
> Priority: Trivial
> Fix For: 1.5.1
>
> Attachments: Quickstart.zip, WICKET-3773.patch, cumulativePatch.txt, valueAttributeCharsWithTest.txt
>
>
> Wicket changes an anchor that has an onclick attribute in a way that breaks it:
> <a href="google.com" onclick="if(history.length > 1){history.back();return false;}else{return true;}">Back to Google</a>
> becomes:
> <a href="google.com" onclick="" if="" history.length=""> 1){history.back();return false;}else{return true;}">Back to Google</a>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira