Dotclear

Changeset 2857:3c827bdd6879


Ignore:
Timestamp:
12/17/14 11:51:08 (9 years ago)
Author:
Nicolas <nikrou77@…>
Branch:
2.7
Message:

Add sibbling tags for context in comment page.
Fix way to test jsToolBar is defined
Addresses #2011

Location:
admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin/comment.php

    r2852 r2857  
    183183     dcPage::jsConfirmClose('comment-form'). 
    184184     dcPage::jsLoad('js/_comment.js'). 
    185      $core->callBehavior('adminPostEditor',$comment_editor['xhtml'],'comment'). 
     185     $core->callBehavior('adminPostEditor',$comment_editor['xhtml'],'comment',array('#comment_content')). 
    186186     # --BEHAVIOR-- adminCommentHeaders 
    187187     $core->callBehavior('adminCommentHeaders'), 
  • admin/js/_comment.js

    r2614 r2857  
    11$(function() { 
    2      if ($.isFunction('jsToolBar')) { 
     2     if (typeof(jsToolBar)!==undefined) { 
    33          var tbComment = new jsToolBar(document.getElementById('comment_content')); 
    44          tbComment.draw('xhtml'); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map