</dd>
</dl>
<div class="formSubmit">
- <button class="buttonPrimary jsButtonSave">${Language.get("wcf.global.button.save")}</button>
+ <button type="button" class="button buttonPrimary jsButtonSave">${Language.get("wcf.global.button.save")}</button>
</div>
`,
};
{content}
{if $conversation->canReply()}
<li class="jsOnly">
- <button class="button buttonPrimary jsQuickReply">
+ <button type="button" class="button buttonPrimary jsQuickReply">
{icon name='reply'}
<span>{lang}wcf.conversation.message.button.add{/lang}</span>
</button>
<span>{lang}wcf.global.button.edit{/lang}</span>
</a>
{else}
- <button class="button small jsConversationInlineEditor">
+ <button type="button" class="button small jsConversationInlineEditor">
{icon name='pencil'}
<span>{lang}wcf.global.button.edit{/lang}</span>
</button>
{if $participant->isInvisible}<small>({lang}wcf.conversation.invisible{/lang})</small>{/if}
{if $participant->userID && ($conversation->userID == $__wcf->getUser()->userID) && ($participant->userID != $__wcf->getUser()->userID) && $participant->hideConversation != 2 && $participant->leftAt == 0}
<button
+ type="button"
class="jsObjectAction jsTooltip jsOnly"
data-object-action="removeParticipant"
title="{lang}wcf.conversation.participants.removeParticipant{/lang}"
<div class="formSubmit">
<input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s">
- <button name="draft" accesskey="d" value="1">{lang}wcf.conversation.button.saveAsDraft{/lang}</button>
+ <button type="submit" class="button" name="draft" accesskey="d" value="1">{lang}wcf.conversation.button.saveAsDraft{/lang}</button>
{include file='messageFormPreviewButton' previewMessageObjectType='com.woltlab.wcf.conversation.message' previewMessageObjectID=0}
{csrfToken}
</div>
{/if}
<div class="formSubmit">
- <button id="addParticipants" class="buttonPrimary">{lang}wcf.global.button.submit{/lang}</button>
+ <button type="button" id="addParticipants" class="button buttonPrimary">{lang}wcf.global.button.submit{/lang}</button>
</div>
\ No newline at end of file
</ul>
<div class="formSubmit">
- <button class="buttonPrimary" id="assignLabels">{lang}wcf.global.button.save{/lang}</button>
+ <button type="button" class="button buttonPrimary" id="assignLabels">{lang}wcf.global.button.save{/lang}</button>
</div>
</dl>
<div class="formSubmit">
- <button id="addLabel" class="buttonPrimary">{lang}wcf.global.button.save{/lang}</button>
- <button id="editLabel" style="display: none;" class="buttonPrimary">{lang}wcf.global.button.save{/lang}</button>
- <button id="deleteLabel" style="display: none;">{lang}wcf.conversation.label.management.deleteLabel{/lang}</button>
+ <button type="button" id="addLabel" class="button buttonPrimary">{lang}wcf.global.button.save{/lang}</button>
+ <button type="button" id="editLabel" class="button" style="display: none;" class="buttonPrimary">{lang}wcf.global.button.save{/lang}</button>
+ <button type="button" id="deleteLabel" class="button" style="display: none;">{lang}wcf.conversation.label.management.deleteLabel{/lang}</button>
</div>
</section>
\ No newline at end of file
</dl>
<div class="formSubmit">
- <button id="hideConversation" class="buttonPrimary">{lang}wcf.global.button.submit{/lang}</button>
+ <button type="button" id="hideConversation" class="button buttonPrimary">{lang}wcf.global.button.submit{/lang}</button>
</div>
</div>
<div class="boxContent">
- <button id="manageLabel">{lang}wcf.conversation.label.management{/lang}</button>
+ <button type="button" id="manageLabel" class="button">{lang}wcf.conversation.label.management{/lang}</button>
</div>
</section>
{/capture}
{capture assign='contentInteractionButtons'}
- <button class="markAllAsReadButton contentInteractionButton button small jsOnly">
+ <button type="button" class="markAllAsReadButton contentInteractionButton button small jsOnly">
{icon name='check'}
<span>{lang}wcf.global.button.markAllAsRead{/lang}</span>
</button>
{include file='messageFormTabsInline' inConversationInlineEdit=true wysiwygContainerID=$wysiwygContainerID}
<div class="formSubmit">
- <button class="buttonPrimary" data-type="save">{lang}wcf.global.button.save{/lang}</button>
+ <button type="button" class="button buttonPrimary" data-type="save">{lang}wcf.global.button.save{/lang}</button>
{include file='messageFormPreviewButton' previewMessageFieldID=$wysiwygSelector previewButtonID=$wysiwygSelector|concat:'_PreviewButton' previewMessageObjectType='com.woltlab.wcf.conversation.message' previewMessageObjectID=$message->messageID}
- <button data-type="cancel">{lang}wcf.global.button.cancel{/lang}</button>
+ <button type="button" class="button" data-type="cancel">{lang}wcf.global.button.cancel{/lang}</button>
</div>
{include file='wysiwyg' wysiwygEnableUpload=true}
</li>
{if $message->userID != $__wcf->getUser()->userID && $__wcf->session->getPermission('user.profile.canReportContent')}
<li class="jsReportConversationMessage jsOnly" data-object-id="{@$message->messageID}">
- <button title="{lang}wcf.moderation.report.reportContent{/lang}" class="button jsTooltip">
+ <button type="button" title="{lang}wcf.moderation.report.reportContent{/lang}" class="button jsTooltip">
{icon name='triangle-exclamation'}
<span class="invisible">{lang}wcf.moderation.report.reportContent{/lang}</span>
</button>
</dd>
</dl>
<div class="formSubmit">
- <button class="buttonPrimary jsButtonSave">${Language.get("wcf.global.button.save")}</button>
+ <button type="button" class="button buttonPrimary jsButtonSave">${Language.get(
+ "wcf.global.button.save",
+ )}</button>
</div>
`,
};