From 2a429d89c8bcff2e9ac947d716a5073e7eb3bb1f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joshua=20R=C3=BCsweg?= Date: Sun, 10 Jul 2016 15:54:06 +0200 Subject: [PATCH] fix delete message for styles --- wcfsetup/install/files/acp/js/WCF.ACP.Style.js | 2 +- wcfsetup/install/files/acp/templates/styleList.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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'} -- 2.20.1