Dotclear


Ignore:
Timestamp:
09/09/14 16:30:31 (11 years ago)
Author:
Nicolas <nikrou77@…>
Branch:
default
Message:

Each editor (ckeditor, legacy ones) loads its own context when it is active.
Add plugin_id parameter to transmit that context
Remove call of ckeditorExtraPlugins behavior until a good solution is found.
Closes #1983

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/dcLegacyEditor/js/jsToolBar/jsToolBar.dotclear.js

    r2614 r2751  
    55jsToolBar.prototype.elements.link.open_url = 'popup_link.php'; 
    66 
    7 jsToolBar.prototype.elements.link.popup = function (args) { 
     7jsToolBar.prototype.elements.link.popup = function(args) { 
    88     window.the_toolbar = this; 
    99     args = args || ''; 
     
    155155     fn: {}, 
    156156     fncall: {}, 
    157      open_url: 'media.php?popup=1', 
     157     open_url: 'media.php?popup=1&plugin_id=dcLegacyEditor', 
    158158     data: {}, 
    159159     popup: function() { 
     
    355355     title: 'Link to an entry', 
    356356     fn: {}, 
    357      open_url: 'popup_posts.php', 
     357     open_url: 'popup_posts.php?plugin_id=dcLegacyEditor', 
    358358     data: {}, 
    359359     popup: function() { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map