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

Matej Knopp commented on WICKET-1932:
-------------------------------------

I see. Unfortunately this assumes that the first line of javascript is 
"invalid". We should check if the javascript starts with <!-- and only then 
prepend it with "//". 

> 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