WordPress/wp-admin/js/page.js
matt 2085ea1c9a Date display and editing tweaks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
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;
});
});