Fix tags and categories postboxes in PressThis

git-svn-id: https://develop.svn.wordpress.org/trunk@12030 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2009-10-14 07:30:10 +00:00
parent aaae110d8f
commit 459e0bcfc9
6 changed files with 34 additions and 14 deletions
+10 -6
View File
@@ -208,12 +208,16 @@ jQuery(document).ready( function($) {
postboxes.add_postbox_toggles('page');
// multi-taxonomies
$('div.postbox').each(function(){
if ( this.id.indexOf('tagsdiv-') === 0 ) {
tagBox.init();
return false;
}
});
if ( $('#tagsdiv-post_tag').length ) {
tagBox.init();
} else {
$('#side-sortables, #normal-sortables, #advanced-sortables').children('div.postbox').each(function(){
if ( this.id.indexOf('tagsdiv-') === 0 ) {
tagBox.init();
return false;
}
});
}
// categories
if ( $('#categorydiv').length ) {