Fix JS error in Press This, props greuben, fixes #17501

git-svn-id: http://svn.automattic.com/wordpress/trunk@18155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2011-06-05 23:12:51 +00:00
parent 4fc66df097
commit 55c55c8f7d
1 changed files with 0 additions and 1 deletions

View File

@ -366,7 +366,6 @@ var photostorage = false;
function append_editor(text) {
if ( '' != text && tinyMCE.activeEditor && ! tinyMCE.activeEditor.isHidden()) {
tinyMCE.execCommand('mceSetContent', false, tinyMCE.activeEditor.getContent({format : 'raw'}) + '<p>' + text + '</p>');
tinyMCE.execCommand('mceCleanup');
} else {
insert_plain_editor(text);
}