• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Require CSS/JS will not work with the template "editor_smilies"

cclaerhout

Well-known member
#1
Code:
          if (ajaxData.templateHtml)
           {
             $smilies = $('<div class="redactor_smilies" />').html(ajaxData.templateHtml);
             $smilies.hide();
             $smilies.on('click', '.Smilie', function(e) {
               e.preventDefault();

               var $smilie = $(this),
                 html = $.trim($smilie.html());

               ed.execCommand('inserthtml', html);
               ed.focus();
             });
             ed.$box.append($smilies);
             $smilies.xfActivate();
             $smilies.slideToggle();
           }
=> "XenForo.ExtLoader" is missing.