Ticket #18989: 18989_fix.patch
File 18989_fix.patch, 819 bytes (added by , 14 years ago) |
---|
-
wp-admin/press-this.php
266 266 267 267 function image_selector() { 268 268 tb_remove(); 269 desc = jQuery('# this_photo_description').val();270 src = jQuery('# this_photo').val();269 desc = jQuery('#TB_ajaxContent #this_photo_description').val(); 270 src = jQuery('#TB_ajaxContent #this_photo').val(); 271 271 pick(src, desc); 272 272 jQuery('#extra-fields').hide(); 273 273 jQuery('#extra-fields').html(''); … … 303 303 var wpActiveEditor = 'content'; 304 304 305 305 function insert_plain_editor(text) { 306 edInsertContent(text );306 edInsertContent(text, text); 307 307 } 308 308 function set_editor(text) { 309 309 if ( '' == text || '<p></p>' == text ) text = '<p><br /></p>';