Dotclear

Changeset 2756:ff017877e7f9


Ignore:
Timestamp:
10/01/14 18:05:00 (11 years ago)
Author:
Nicolas <nikrou77@…>
Branch:
default
Message:

Fix issue for inserting link to entry when current editor is different from preferred editor
Closes #1996

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/popup_posts.php

    r2749 r2756  
    1616 
    1717$q = !empty($_GET['q']) ? $_GET['q'] : null; 
     18$plugin_id = !empty($_GET['plugin_id']) ? html::sanitizeURL($_GET['plugin_id']) : ''; 
    1819 
    1920$page = !empty($_GET['page']) ? max(1,(integer) $_GET['page']) : 1; 
     
    5253dcPage::openPopup(__('Add a link to an entry'), 
    5354     dcPage::jsLoad('js/_posts_list.js'). 
    54      $core->callBehavior('adminPopupPosts', $post_editor[$post_format])); 
     55     $core->callBehavior('adminPopupPosts', $plugin_id)); 
    5556 
    5657echo '<h2 class="page-title">'.__('Add a link to an entry').'</h2>'; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map