You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Patrick Petermair (JIRA)" <ji...@apache.org> on 2014/03/19 16:17:42 UTC
[jira] [Created] (WICKET-5537) Wicket.DOM.toggleClass is called
with additional "#" inside AutoLabelResolver
Patrick Petermair created WICKET-5537:
-----------------------------------------
Summary: 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.14.0, 6.13.0
Reporter: Patrick Petermair
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)