input.value = iconName;
};
- button.addEventListener('click', function() {
+ button.addEventListener('click', function(event) {
+ event.preventDefault();
+
UiStyleFontAwesome.open(callback);
});
});
{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}">