Updating minified JavaScript files
authorwoltlab.com <woltlab@woltlab.com>
Thu, 27 Jun 2019 09:36:49 +0000 (09:36 +0000)
committerwoltlab.com <woltlab@woltlab.com>
Thu, 27 Jun 2019 09:36:49 +0000 (09:36 +0000)
wcfsetup/install/files/acp/templates/__iconFormField.tpl
wcfsetup/install/files/acp/templates/articleAdd.tpl

index fe3cecf0a4f531b2b1ba20eeaa5b9a8f97b85492..b8c8d2535de661cb879692d7a91f53c73c966bae 100644 (file)
@@ -22,7 +22,9 @@
                                input.value = iconName;
                        };
                        
-                       button.addEventListener('click', function() {
+                       button.addEventListener('click', function(event) {
+                               event.preventDefault();
+                               
                                UiStyleFontAwesome.open(callback);
                        });
                });
index f149a9eeeb68f9e522af7b210956443e0654c075..355012dcdc4d0414ccee4ac081b3fe05b6211da9 100644 (file)
 {include file='formError'}
 
 {if $success|isset}
-       <p class="success">{lang}wcf.global.success.{$action}{/lang}</p>
+       <p class="success" role="status">{lang}wcf.global.success.{$action}{/lang}</p>
 {/if}
 
 {if $action == 'edit'}
        <p class="info jsArticleNoticeTrash"{if !$article->isDeleted} style="display: none;"{/if}>{lang}wcf.acp.article.trash.notice{/lang}</p>
        
-       {if $lastVersion}<p class="info">{lang}wcf.acp.article.lastVersion{/lang}</p>{/if}
+       {if $lastVersion}<p class="info" role="status">{lang}wcf.acp.article.lastVersion{/lang}</p>{/if}
 {/if}
 
 <form class="articleAddForm" method="post" action="{if $action == 'add'}{link controller='ArticleAdd'}{/link}{else}{link controller='ArticleEdit' id=$articleID}{/link}{/if}">