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:
ryan
2008-08-22 18:58:42 +00:00
parent 84f4fc27e0
commit b314e60f74
5 changed files with 65 additions and 4 deletions

View File

@@ -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 ) ) {