You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2014/03/19 16:33:43 UTC

[jira] [Resolved] (WICKET-5537) Wicket.DOM.toggleClass is called with additional "#" inside AutoLabelResolver

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

Martin Grigorov resolved WICKET-5537.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 6.15.0
                   7.0.0
         Assignee: Martin Grigorov

Fixed!
Sorry about this!

> Wicket.DOM.toggleClass is called with additional "#" inside AutoLabelResolver
> -----------------------------------------------------------------------------
>
>                 Key: WICKET-5537
>                 URL: https://issues.apache.org/jira/browse/WICKET-5537
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.13.0, 6.14.0
>            Reporter: Patrick Petermair
>            Assignee: Martin Grigorov
>             Fix For: 7.0.0, 6.15.0
>
>
> With WICKET-5411 (commit 484415796aab76fc4f635b375cbf2b0cd604457f) JavaScript calls in AutoLabelResolver.updateFrom() where changed to use Wicket.DOM.toggleClass().
> In one instance the leading "#" has been removed. The other two Wicket.DOM.toggleClass() calls still start with '#%s' which leads to double hashmarks and JS errors like the following in the browser:
> Wicket.Ajax: Wicket.Ajax.Call.processEvaluation: Exception evaluating javascript: Error: Syntax error, unrecognized expression: ##myComponentId7e-w-lbl, text



--
This message was sent by Atlassian JIRA
(v6.2#6252)