First cut of 'Show on screen' metabox show/hide. Needs styling. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -185,6 +185,16 @@ jQuery(document).ready( function() {
|
||||
return false;
|
||||
});
|
||||
|
||||
// Edit Settings
|
||||
jQuery('.edit-settings-link').click(function () {
|
||||
if (jQuery('#edit-settings').is(":hidden")) {
|
||||
jQuery('#edit-settings').slideDown("normal");
|
||||
} else {
|
||||
jQuery('#edit-settings').slideUp("normal");
|
||||
}
|
||||
return false;
|
||||
});
|
||||
|
||||
// Custom Fields
|
||||
jQuery('#the-list').wpList( { addAfter: function( xml, s ) {
|
||||
if ( jQuery.isFunction( autosave_update_post_ID ) ) {
|
||||
|
||||
Reference in New Issue
Block a user