mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-09 04:11:10 +01:00
15f41f8d2b
git-svn-id: http://svn.automattic.com/wordpress/trunk@6975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
17 lines
416 B
JavaScript
17 lines
416 B
JavaScript
addLoadEvent( function() {
|
|
add_postbox_toggles('page');
|
|
make_slugedit_clickable();
|
|
|
|
// hide advanced slug field
|
|
jQuery('#pageslugdiv').hide();
|
|
|
|
jQuery('#timestampdiv').css('display', 'none');
|
|
jQuery('.edit-timestamp').click(function () {
|
|
if (jQuery('#timestampdiv').is(":hidden")) {
|
|
jQuery('#timestampdiv').slideDown("normal");
|
|
} else {
|
|
jQuery('#timestampdiv').hide();
|
|
}
|
|
return false;
|
|
});
|
|
}); |