Wordpress/wp-admin/js/page.js
Matt Mullenweg 1d749413cd Date display and editing tweaks.
git-svn-id: https://develop.svn.wordpress.org/trunk@7285 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-14 08:17:59 +00:00

16 lines
367 B
JavaScript

addLoadEvent( function() {
add_postbox_toggles('page');
make_slugedit_clickable();
// hide advanced slug field
jQuery('#pageslugdiv').hide();
jQuery('.edit-timestamp').click(function () {
if (jQuery('#timestampdiv').is(":hidden")) {
jQuery('#timestampdiv').slideDown("normal");
} else {
jQuery('#timestampdiv').hide();
}
return false;
});
});