Dotclear


Ignore:
Timestamp:
09/02/14 22:05:33 (11 years ago)
Author:
Nicolas <nikrou77@…>
Branch:
default
Message:

Fix call of javascript of all editors on media_item page but also popup_link and popup_posts
Closes #1983

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/popup_link.php

    r2614 r2749  
    1919$title = !empty($_GET['title']) ? $_GET['title'] : ''; 
    2020 
    21 dcPage::openPopup(__('Add a link'),$core->callBehavior('adminPopupLink')); 
     21// perhaps better to put active editor in session 
     22$post_format = $core->auth->getOption('post_format'); 
     23$post_editor = $core->auth->getOption('editor'); 
     24 
     25dcPage::openPopup(__('Add a link'),$core->callBehavior('adminPopupLink', $post_editor[$post_format])); 
    2226 
    2327echo '<h2 class="page-title">'.__('Add a link').'</h2>'; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map