Column hiding for manage posts. see #7725

git-svn-id: https://develop.svn.wordpress.org/trunk@8858 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-09-11 01:46:30 +00:00
parent 88e581b529
commit 3acc2acb2b
7 changed files with 174 additions and 27 deletions
+24
View File
@@ -0,0 +1,24 @@
jQuery(document).ready( function($) {
columns.init('post');
// Edit Settings
$('#show-settings-link').click(function () {
$('#edit-settings').slideDown('normal', function(){
$('#show-settings-link').hide();
$('#hide-settings-link').show();
});
$('#show-settings').addClass('show-settings-opened');
return false;
});
$('#hide-settings-link').click(function () {
$('#edit-settings').slideUp('normal', function(){
$('#hide-settings-link').hide();
$('#show-settings-link').show();
$('#show-settings').removeClass('show-settings-opened');
});
return false;
});
});