mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-07 05:08:10 +02:00
git-svn-id: http://svn.automattic.com/wordpress/trunk@12007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
11 lines
334 B
JavaScript
11 lines
334 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);
|
|
}
|
|
}
|
|
function WPCloseTB(){
|
|
tb_remove();
|
|
} |