rellek
Well-known member
Hi,
I think there's a little bug, at least in the admin panel. There are some tooltips that are filled with a phrase. If that phrase contains quotes, it will break the javascript. As an example:
The phrase to be put there is set_x_as_default_language. If that phrase does not use single quotes like in the original but double quotes ("), this will happen:
http://xenforo.com/community/threads/acp-list-items-disappear-on-hover.57068/
Therefore, at least quotes should be converted automatically to their html entity " so that it will at least not break. If {title} contains a quote, this works too. So I think this is just down to the phrase itself.
For some reason, this tooltip works fine in the node description even if there are quotes. No problem here:
I think there's a little bug, at least in the admin panel. There are some tooltips that are filled with a phrase. If that phrase contains quotes, it will break the javascript. As an example:
Code:
<label class="secondaryContent Tooltip" data-offsetx="3" title="{phrase goes here}">
The phrase to be put there is set_x_as_default_language. If that phrase does not use single quotes like in the original but double quotes ("), this will happen:
http://xenforo.com/community/threads/acp-list-items-disappear-on-hover.57068/
Therefore, at least quotes should be converted automatically to their html entity " so that it will at least not break. If {title} contains a quote, this works too. So I think this is just down to the phrase itself.
For some reason, this tooltip works fine in the node description even if there are quotes. No problem here:
Code:
<blockquote class="nodeDescription nodeDescriptionTooltip baseHtml" id="nodeDescription-18">Hier könnt ihr eure Projekte, die mit sozialer Software realisiert sind, vorstellen. Um neue Themen starten zu können, braucht ihr 20 Beiträge. Lest bitte die <a href="/threads/regeln-zu-diesem-forum.80/">Regeln</a>.</blockquote>