Dotclear

Changeset 2834:00c6631e115e for plugins


Ignore:
Timestamp:
12/02/14 19:58:19 (11 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Fixes link insertion popup (Legacy editor)

File:
1 edited

Legend:

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

    r2751 r2834  
    33jsToolBar.prototype.elements.link.data = {}; 
    44jsToolBar.prototype.elements.link.fncall = {}; 
    5 jsToolBar.prototype.elements.link.open_url = 'popup_link.php'; 
     5jsToolBar.prototype.elements.link.open_url = 'popup_link.php?plugin_id=dcLegacyEditor'; 
    66 
    77jsToolBar.prototype.elements.link.popup = function(args) { 
     
    1818 
    1919jsToolBar.prototype.elements.link.fn.wiki = function() { 
    20      this.elements.link.popup.call(this,'?hreflang='+this.elements.link.default_hreflang); 
     20     this.elements.link.popup.call(this,'&hreflang='+this.elements.link.default_hreflang); 
    2121}; 
    2222jsToolBar.prototype.elements.link.fncall.wiki = function() { 
     
    4141 
    4242jsToolBar.prototype.elements.link.fn.xhtml = function() { 
    43      this.elements.link.popup.call(this,'?hreflang='+this.elements.link.default_hreflang); 
     43     this.elements.link.popup.call(this,'&hreflang='+this.elements.link.default_hreflang); 
    4444}; 
    4545jsToolBar.prototype.elements.link.fncall.xhtml = function() { 
     
    7777     } 
    7878 
    79      this.elements.link.popup.call(this,'?href='+href+'&hreflang='+hreflang+'&title='+title); 
     79     this.elements.link.popup.call(this,'&href='+href+'&hreflang='+hreflang+'&title='+title); 
    8080}; 
    8181jsToolBar.prototype.elements.link.fncall.wysiwyg = function() { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map