Dotclear


Ignore:
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • .hgtags

    r2540 r2553  
    1414e42d3233f080a2e846301cba3e3585e4a280a87d 2.6-RC 
    1515dc51785c0e18369445c71dfdc268c6034e61f681 2.6 
     16dc51785c0e18369445c71dfdc268c6034e61f681 2.6 
     170000000000000000000000000000000000000000 2.6 
     18dc51785c0e18369445c71dfdc268c6034e61f681 2.6.0 
  • admin/js/_post.js

    r2531 r2556  
    6868                    $(this).val(last_post_format); 
    6969               } 
    70                 
     70 
    7171               $('.format_control > *').addClass('hide'); 
    7272               $('.format_control:not(.control_no_'+$(this).val()+') > *').removeClass('hide'); 
     
    8080     if (document.getElementById('comment_content')) { 
    8181          var commentTb = new jsToolBar(document.getElementById('comment_content')); 
     82          commentTb.draw('xhtml'); 
    8283     } 
    8384 
     
    106107          a.className = 'button '; 
    107108          $(a).click(function() { 
    108                 
     109 
    109110               excerpt_content = $('#post_excerpt').css('display') != 'none' ? $('#post_excerpt').val() : $('#excerpt-area iframe').contents().find('body').html(); 
    110111               post_content   = $('#post_content').css('display') != 'none' ? $('#post_content').val() : $('#content-area iframe').contents().find('body').html(); 
    111                 
     112 
    112113               var params = { 
    113114                    xd_check: dotclear.nonce, 
     
    124125                         return false; 
    125126                    } 
    126                           
     127 
    127128                    $('.message, .success, .error, .warning-msg').remove(); 
    128129 
     
    130131                         var p = document.createElement('p'); 
    131132                         p.id = 'markup-validator'; 
    132                           
     133 
    133134                         $(p).addClass('success'); 
    134135                         $(p).text(dotclear.msg.xhtml_valid); 
     
    140141                         var div = document.createElement('div'); 
    141142                         div.id = 'markup-validator'; 
    142                           
     143 
    143144                         $(div).addClass('error'); 
    144145                         $(div).html('<p><strong>' + dotclear.msg.xhtml_not_valid + '</strong></p>' + $(data).find('errors').text()); 
     
    163164 
    164165          a.appendChild(document.createTextNode(dotclear.msg.xhtml_validator)); 
    165            
     166 
    166167          $('.format_control > *').addClass('hide'); 
    167168          $('.format_control:not(.control_no_'+last_post_format+') > *').removeClass('hide'); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map