mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-07 13:18:14 +02:00
git-svn-id: http://svn.automattic.com/wordpress/trunk@12031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
8 lines
296 B
JavaScript
8 lines
296 B
JavaScript
function WPSetThumbnailHTML(html){
|
|
jQuery('#postthumbnaildiv .inside').html(html);
|
|
}
|
|
function WPSetThumbnailID(id){
|
|
if ( jQuery('input[value=_thumbnail_id]').size() > 0 ) {
|
|
jQuery('#meta\\[' + jQuery('input[value=_thumbnail_id]').attr('id').match(/[0-9]+/) + '\\]\\[value\\]' ).text(id);
|
|
}
|
|
} |