Fixed bad data attribute
authorAlexander Ebert <ebert@woltlab.com>
Fri, 26 Aug 2016 15:50:52 +0000 (17:50 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 26 Aug 2016 15:50:52 +0000 (17:50 +0200)
com.woltlab.wcf/templates/messageFormTabsInline.tpl
wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabSmiley.js

index 74f7c54512fd257f949a28e14cf925e040d2727b..1f35de879370a7612d20d6614982f169d434f407 100644 (file)
@@ -5,7 +5,7 @@
 {capture assign='__messageFormSettingsInlineContent'}{include file='messageFormSettingsInline'}{/capture}
 {assign var='__messageFormSettingsInlineContent' value=$__messageFormSettingsInlineContent|trim}
 
-<div class="messageTabMenu"{if $preselectTabMenu|isset} data-preselect="{$preselectTabMenu}"{/if} data-wysiwyg-container-id="{$wysiwygContainerID}">
+<div class="messageTabMenu"{if $preselectTabMenu|isset} data-preselect="{$preselectTabMenu}"{/if} data-wysiwyg-container-id="{$wysiwygSelector}">
        <nav class="messageTabMenuNavigation jsOnly">
                <ul>
                        {if MODULE_SMILEY && !$smileyCategories|empty}<li data-name="smilies"><a><span class="icon icon16 fa-smile-o"></span> <span>{lang}wcf.message.smilies{/lang}</span></a></li>{/if}
index 7d551863835bd4fca8776d16aef88f97fa9c87c3..5258856eebbdd9f21297b62188546e79fe5b88da 100644 (file)
@@ -4,7 +4,7 @@ $.Redactor.prototype.WoltLabSmiley = function() {
        return {
                init: function() {
                        require(['EventHandler'], (function(EventHandler) {
-                               EventHandler.add('com.woltlab.wcf.redactor2', 'insertSmiley_' + this.$element[0].id, this.WoltLabSmiley._insert.bind(this))
+                               EventHandler.add('com.woltlab.wcf.redactor2', 'insertSmiley_' + this.$element[0].id, this.WoltLabSmiley._insert.bind(this));
                        }).bind(this));
                },