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

Alastair Maw resolved WICKET-872.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3.0-beta4
         Assignee: Alastair Maw

Good spot. Applied to trunk. Thanks.

> Typo in org.apache.wicket.markup.html.tree.res.tree.js causes AJAX tree node 
> addition failures
> ----------------------------------------------------------------------------------------------
>
>                 Key: WICKET-872
>                 URL: https://issues.apache.org/jira/browse/WICKET-872
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta1, 1.3.0-beta2
>         Environment: wicket 1.3.0-beta1 and 2
>            Reporter: Barrett Snyder
>            Assignee: Alastair Maw
>             Fix For: 1.3.0-beta4
>
>
> There is a typo in the tree javascript which can sometimes cause node 
> addition failures. Here is the patch:
> Index: tree.js
> ===================================================================
> --- tree.js   (revision 568693)
> +++ tree.js   (working copy)
> @@ -46,7 +46,7 @@
>  
>  Wicket.Tree.createElement = function(elementId, afterId) {
>       var existing = Wicket.$(elementId);
> -     if (typeof(existing) != "undefined" && exiting != null) {
> +     if (typeof(existing) != "undefined" && existing != null) {
>               Wicket.Tree.askForReload();
>       }

-- 
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