From: Joshua Rüsweg Date: Sun, 10 Jul 2016 13:54:06 +0000 (+0200) Subject: fix delete message for styles X-Git-Tag: 3.0.0_Beta_1~1223^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2a429d89c8bcff2e9ac947d716a5073e7eb3bb1f;p=GitHub%2FWoltLab%2FWCF.git fix delete message for styles --- diff --git a/wcfsetup/install/files/acp/js/WCF.ACP.Style.js b/wcfsetup/install/files/acp/js/WCF.ACP.Style.js index 3db4ca2a0e..89da090285 100644 --- a/wcfsetup/install/files/acp/js/WCF.ACP.Style.js +++ b/wcfsetup/install/files/acp/js/WCF.ACP.Style.js @@ -356,7 +356,7 @@ WCF.ACP.Style.List = Class.extend({ * @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) { diff --git a/wcfsetup/install/files/acp/templates/styleList.tpl b/wcfsetup/install/files/acp/templates/styleList.tpl index bdff3363ad..2bb44511bd 100644 --- a/wcfsetup/install/files/acp/templates/styleList.tpl +++ b/wcfsetup/install/files/acp/templates/styleList.tpl @@ -62,7 +62,7 @@ {if !$style->isDefault}
  • -
  • +
  • {/if} {event name='itemButtons'}