[ 
https://issues.apache.org/jira/browse/WICKET-3400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Igor Vaynberg resolved WICKET-3400.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5-RC2
         Assignee: Igor Vaynberg

> DatePicker renders errorenous JavaScript in AjaxRequest
> -------------------------------------------------------
>
>                 Key: WICKET-3400
>                 URL: https://issues.apache.org/jira/browse/WICKET-3400
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.5-RC1
>            Reporter: Sven Meier
>            Assignee: Igor Vaynberg
>             Fix For: 1.5-RC2
>
>
> For demonstration just start Wicket's ModalWindow example showing header 
> contribution (org.apache.wicket.examples.ajax.builtin.modal.ModalPanel1).
> Ajax debug:
> ERROR: Wicket.Head.Contributor.processScript: TypeError: YAHOO.wicket is 
> undefined: eval -> 
> var e = Wicket.$('id8Dp'); if (e != null && typeof(e.parentNode) != 
> 'undefined' && typeof(e.parentNode.parentNode != 'undefined')) 
> e.parentNode.parentNode.removeChild(e.parentNode);YAHOO.wicket.id8DpJs.destroy();
>  delete YAHOO.wicket.id8DpJs;
> This issue is probably caused by changes in revision 991033 (WICKET-2850). It 
> seems there are curly braces missing in the JavaScript code.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to