Dotclear

Changeset 2929:54d58ce46232


Ignore:
Timestamp:
01/27/15 11:26:52 (11 years ago)
Author:
Dsls
Branch:
2.7
Children:
2930:af2812bb018c, 2934:acb3d85998e5
Message:

Quick entry deserves its post_format information, see #2047
Add trigger when emptying post-content (usefull for alternate editors)

Location:
admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin/index.php

    r2854 r2929  
    338338          echo 
    339339          '<div id="quick">'. 
    340           '<h3>'.__('Quick entry').'</h3>'. 
     340          '<h3>'.__('Quick entry').sprintf(' &rsaquo; %s',$core->auth->getOption('post_format')).'</h3>'. 
    341341          '<form id="quick-entry" action="'.$core->adminurl->get('admin.post').'" method="post" class="fieldset">'. 
    342342          '<h4>'.__('New entry').'</h4>'. 
  • admin/js/_index.js

    r2860 r2929  
    5757                         $('#post_title',f).val(''); 
    5858                         $('#post_content',f).val(''); 
     59                         $('#post_content',f).change(); 
    5960                         if ($.isFunction('jsToolBar') &&  (contentTb.getMode() == 'wysiwyg')) { 
    6061                              contentTb.syncContents('textarea'); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map