Dotclear

Changeset 2841:b258519fdbb9


Ignore:
Timestamp:
12/14/14 12:04:52 (11 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
2.7
Message:

args missing for behaviour adminPostEditor - First step, should be tested and applied where needed - addresses #2011

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin/comment.php

    r2720 r2841  
    2626$comment_spam_status = ''; 
    2727 
     28$comment_editor = $core->auth->getOption('editor'); 
    2829 
    2930# Status combo 
     
    182183     dcPage::jsConfirmClose('comment-form'). 
    183184     dcPage::jsLoad('js/_comment.js'). 
    184      $core->callBehavior('adminPostEditor'). 
     185     $core->callBehavior('adminPostEditor',$comment_editor['xhtml'],'comment'). 
    185186     # --BEHAVIOR-- adminCommentHeaders 
    186187     $core->callBehavior('adminCommentHeaders'), 
  • plugins/dcCKEditor/_prepend.php

    r2738 r2841  
    1313if (!defined('DC_RC_PATH')) { return; } 
    1414 
    15 define('DEFAULT_TEXTAREAS', 'textarea#post_excerpt,textarea#post_content'); 
     15define('DEFAULT_TEXTAREAS', 'textarea#post_excerpt,textarea#post_content,textarea#comment_content'); 
    1616 
    1717$__autoload['dcCKEditorBehaviors'] = dirname(__FILE__).'/inc/dc.ckeditor.behaviors.php'; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map