Legend:
- Unmodified
- Added
- Removed
-
plugins/dcCKEditor/js/ckeditor-plugins/entrylink/plugin.js
r2743 r2751 6 6 exec: function(editor) { 7 7 if (editor.getSelection().getNative().toString().replace(/\s*/,'')!='') { 8 $.toolbarPopup('popup_posts.php?popup=1& editor='+editor.name);8 $.toolbarPopup('popup_posts.php?popup=1&plugin_id=dcCKEditor'); 9 9 } 10 10 } … … 18 18 19 19 editor.on('doubleclick',function(e) { 20 var element = CKEDITOR.plugins.link.getSelectedLink( editor) || e.data.element;20 var element = CKEDITOR.plugins.link.getSelectedLink(editor) || e.data.element; 21 21 if (!element.isReadOnly()) { 22 22 if (element.is('a') … … 25 25 editor.getSelection().selectElement(element); 26 26 27 $.toolbarPopup('popup_posts.php?popup=1& editor='+editor.name);27 $.toolbarPopup('popup_posts.php?popup=1&plugin_id=dcCKEditor'); 28 28 return false; 29 29 }
Note: See TracChangeset
for help on using the changeset viewer.