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

git-svn-id: https://develop.svn.wordpress.org/trunk@18155 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2011-06-05 23:12:51 +00:00
parent 4024085812
commit a6d817da56
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);
}