[ 
https://issues.apache.org/jira/browse/WICKET-1932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12647665#action_12647665
 ] 

Frank van Lankvelt commented on WICKET-1932:
--------------------------------------------

That may the best that can be achieved on the client side, given the code that 
is sent by the server.
What could also be done is add a custom attribute to the 
JavascriptUtils.SCRIPT_OPEN_TAG.  (the SCRIPT_CONTENT_PREFIX is actually *not* 
used)

> IE7 doesn't evaluate inline javascript without element id
> ---------------------------------------------------------
>
>                 Key: WICKET-1932
>                 URL: https://issues.apache.org/jira/browse/WICKET-1932
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.5
>            Reporter: Frank van Lankvelt
>            Assignee: Matej Knopp
>         Attachments: ie7eval.tar.gz
>
>
> The javascript as generated by the JavascriptUtils, is not evaluated by the 
> IE7 eval().  An AJAX response with javascript, but no element id, does not 
> lead to execution in Wicket.Head.Contributor.prototype.processScript.
> Prepending the SCRIPT_CONTENT_PREFIX with "//" seems to fix the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to