Legend:
- Unmodified
- Added
- Removed
-
plugins/dcCKEditor/js/ckeditor-plugins/entrylink/plugin.js
r2751 r2835 3 3 icons: 'entrylink', 4 4 init: function(editor) { 5 popup_params = { 'width': 760, 'height': 500}; 6 5 7 editor.addCommand('entryLinkCommand', { 6 8 exec: function(editor) { 7 9 if (editor.getSelection().getNative().toString().replace(/\s*/,'')!='') { 8 $.toolbarPopup('popup_posts.php?popup=1&plugin_id=dcCKEditor' );10 $.toolbarPopup('popup_posts.php?popup=1&plugin_id=dcCKEditor', popup_params); 9 11 } 10 12 } … … 25 27 editor.getSelection().selectElement(element); 26 28 27 $.toolbarPopup('popup_posts.php?popup=1&plugin_id=dcCKEditor' );29 $.toolbarPopup('popup_posts.php?popup=1&plugin_id=dcCKEditor', popup_params); 28 30 return false; 29 31 }
Note: See TracChangeset
for help on using the changeset viewer.