mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Remove close TB call that was removed earlier. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12037 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -6,7 +6,6 @@ function WPSetAsThumbnail(id){
|
||||
var win = window.dialogArguments || opener || parent || top;
|
||||
if ( str == '0' ) {
|
||||
alert( setPostThumbnailL10n.error );
|
||||
win.cwsCloseTB();
|
||||
} else {
|
||||
jQuery('a.wp-post-thumbnail').text( setPostThumbnailL10n.setThumbnail );
|
||||
jQuery('#media-item-' + id + ' > a.wp-post-thumbnail').hide();
|
||||
|
||||
Reference in New Issue
Block a user