From 263913ea9acd251a655187bd896aa1d51250e514 Mon Sep 17 00:00:00 2001 From: "woltlab.com" Date: Thu, 27 Jun 2019 09:36:49 +0000 Subject: [PATCH] Updating minified JavaScript files --- wcfsetup/install/files/acp/templates/__iconFormField.tpl | 4 +++- wcfsetup/install/files/acp/templates/articleAdd.tpl | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/__iconFormField.tpl b/wcfsetup/install/files/acp/templates/__iconFormField.tpl index fe3cecf0a4..b8c8d2535d 100644 --- a/wcfsetup/install/files/acp/templates/__iconFormField.tpl +++ b/wcfsetup/install/files/acp/templates/__iconFormField.tpl @@ -22,7 +22,9 @@ input.value = iconName; }; - button.addEventListener('click', function() { + button.addEventListener('click', function(event) { + event.preventDefault(); + UiStyleFontAwesome.open(callback); }); }); diff --git a/wcfsetup/install/files/acp/templates/articleAdd.tpl b/wcfsetup/install/files/acp/templates/articleAdd.tpl index f149a9eeeb..355012dcdc 100644 --- a/wcfsetup/install/files/acp/templates/articleAdd.tpl +++ b/wcfsetup/install/files/acp/templates/articleAdd.tpl @@ -86,13 +86,13 @@ {include file='formError'} {if $success|isset} -

{lang}wcf.global.success.{$action}{/lang}

+

{lang}wcf.global.success.{$action}{/lang}

{/if} {if $action == 'edit'}

isDeleted} style="display: none;"{/if}>{lang}wcf.acp.article.trash.notice{/lang}

- {if $lastVersion}

{lang}wcf.acp.article.lastVersion{/lang}

{/if} + {if $lastVersion}

{lang}wcf.acp.article.lastVersion{/lang}

{/if} {/if}
-- 2.20.1