Synchronize the `__wysiwygAttachmentFormField` template
authorAlexander Ebert <ebert@woltlab.com>
Mon, 22 Aug 2022 13:53:40 +0000 (15:53 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 22 Aug 2022 13:53:40 +0000 (15:53 +0200)
com.woltlab.wcf/templates/__wysiwygAttachmentFormField.tpl

index e969ddcd2beea1371ba667b29241de077aef1301..a3793ace71d67a8642520a8c300d3230fa895a6d 100644 (file)
                                </div>
                                
                                <ul class="buttonGroup">
-                                       <li><span class="button small jsObjectAction" data-object-action="delete" data-confirm-message="{lang}wcf.attachment.delete.sure{/lang}">{lang}wcf.global.button.delete{/lang}</span></li>
+                                       <li><button type="button" class="button small jsObjectAction" data-object-action="delete" data-confirm-message="{lang}wcf.attachment.delete.sure{/lang}">{lang}wcf.global.button.delete{/lang}</button></li>
                                        {if $attachment->isImage}
                                                {if $attachment->thumbnailType}
-                                                       <li><span class="button small jsButtonAttachmentInsertThumbnail" data-object-id="{@$attachment->attachmentID}" data-url="{$attachment->getThumbnailLink('thumbnail')}">{lang}wcf.attachment.insertThumbnail{/lang}</span></li>
+                                                       <li><button type="button" class="button small jsButtonAttachmentInsertThumbnail" data-object-id="{@$attachment->attachmentID}" data-url="{$attachment->getThumbnailLink('thumbnail')}">{lang}wcf.attachment.insertThumbnail{/lang}</button></li>
                                                {/if}
-                                               <li><span class="button small jsButtonAttachmentInsertFull" data-object-id="{@$attachment->attachmentID}" data-url="{$attachment->getLink()}">{lang}wcf.attachment.insertFull{/lang}</span></li>
+                                               <li><button type="button" class="button small jsButtonAttachmentInsertFull" data-object-id="{@$attachment->attachmentID}" data-url="{$attachment->getLink()}">{lang}wcf.attachment.insertFull{/lang}</button></li>
                                        {else}
-                                               <li><span class="button small jsButtonInsertAttachment" data-object-id="{@$attachment->attachmentID}">{lang}wcf.attachment.insert{/lang}</span></li>
+                                               <li><button type="button" class="button small jsButtonInsertAttachment" data-object-id="{@$attachment->attachmentID}">{lang}wcf.attachment.insert{/lang}</button></li>
                                        {/if}
                                </ul>
                        </div>