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

cclaerhout

Well-known member
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.
 
Top Bottom