Column hiding for users. see #7725
git-svn-id: http://svn.automattic.com/wordpress/trunk@8936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1 +1,26 @@
|
||||
jQuery( function($) { $('#users').wpList(); } );
|
||||
jQuery( function($) {
|
||||
$('#users').wpList();
|
||||
|
||||
columns.init('user');
|
||||
|
||||
// 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;
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user