* @param integer styleID
*/
_delete: function(event, styleID) {
- var $confirmMessage = $(event.currentTarget).data('confirmMessage');
+ var $confirmMessage = $(event.currentTarget).data('confirmMessageHtml');
if ($confirmMessage) {
var self = this;
WCF.System.Confirmation.show($confirmMessage, function(action) {
{if !$style->isDefault}
<li><span class="icon icon16 fa-{if !$style->isDisabled}check-{/if}square-o jsToggleButton jsTooltip pointer" title="{lang}wcf.global.button.{if $style->isDisabled}enable{else}disable{/if}{/lang}" data-object-id="{@$style->styleID}"></span></li>
<li><a title="{lang}wcf.acp.style.button.setAsDefault{/lang}" class="jsSetAsDefault jsTooltip"><span class="icon icon16 fa-check-circle"></span></a></li>
- <li><a title="{lang}wcf.global.button.delete{/lang}" class="jsDelete jsTooltip" data-confirm-message="{lang}wcf.acp.style.delete.confirmMessage{/lang}"><span class="icon icon16 fa-times"></span></a></li>
+ <li><a title="{lang}wcf.global.button.delete{/lang}" class="jsDelete jsTooltip" data-confirm-message-html="{lang __encode=true}wcf.acp.style.delete.confirmMessage{/lang}"><span class="icon icon16 fa-times"></span></a></li>
{/if}
{event name='itemButtons'}