Legend:
- Unmodified
- Added
- Removed
-
admin/js/tiny_mce/plugins/dcControls/editor_plugin.js
r326 r327 56 56 return; 57 57 58 var url = popup_post_url + '?q=' + se.getContent(); 59 58 60 ed.windowManager.open({ 59 file: popup_post_url,61 file: url, 60 62 width: 760, 61 63 height: 500, … … 117 119 118 120 // Register shortcuts 121 ed.addShortcut('ctrl+alt+c', 'dcControls.inlinecode_desc', 'dcCode'); 119 122 ed.addShortcut('ctrl+alt+q', 'dcControls.quote_desc', 'dcQuote'); 120 123 ed.addShortcut('ctrl+alt+l', 'dcControls.link_desc', 'dcExternalLink'); … … 127 130 cm.setActive('inlinecode', n.nodeName == 'CODE' || ed.dom.getParent(n, 'CODE')); 128 131 cm.setActive('quote', n.nodeName == 'Q' || ed.dom.getParent(n, 'Q')); 129 cm.setActive('postlink', n.nodeName == 'A' && !n.name);132 cm.setActive('postlink', n.nodeName == 'A' && n.href.indexOf(ed.settings.post_url_pattern) != -1); 130 133 }); 131 134 },
Note: See TracChangeset
for help on using the changeset viewer.