Ticket #2547: mce-fix.patch
File mce-fix.patch, 687 bytes (added by , 11 years ago) |
---|
-
templates/default/js/reply.js
16 16 } 17 17 18 18 reply.parentNode.insertBefore(respond); 19 20 if( (typeof( tinymce ) !== 'undefined') && tinyMCE.getInstanceById('bbp_reply_content') ){ 21 tinyMCE.execCommand('mceFocus', false, 'bbp_reply_content'); 22 tinyMCE.execCommand('mceRemoveControl', false, 'bbp_reply_content'); 23 tinyMCE.execCommand('mceAddControl', false, 'bbp_reply_content'); 24 } 25 19 26 if ( post && postId ) 20 27 post.value = postId; 21 28 parent.value = parentId;