Wordpress/wp-admin/js/media.js
Ryan Boren 9a63c2421d Column hiding for media library. see #7725
git-svn-id: https://develop.svn.wordpress.org/trunk@8894 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-15 17:53:30 +00:00

25 lines
606 B
JavaScript

jQuery(document).ready( function($) {
columns.init('media');
// 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;
});
});