2008-02-08 20:57:50 +01:00
|
|
|
addLoadEvent( function() {
|
|
|
|
add_postbox_toggles('page');
|
|
|
|
make_slugedit_clickable();
|
2008-02-18 23:07:57 +01:00
|
|
|
|
2008-02-21 21:19:34 +01:00
|
|
|
// hide advanced slug field
|
|
|
|
jQuery('#pageslugdiv').hide();
|
|
|
|
|
2008-02-21 23:20:19 +01:00
|
|
|
jQuery('#timestampdiv').css('display', 'none');
|
2008-02-18 23:07:57 +01:00
|
|
|
jQuery('.edit-timestamp').click(function () {
|
2008-02-21 23:20:19 +01:00
|
|
|
if (jQuery('#timestampdiv').is(":hidden")) {
|
|
|
|
jQuery('#timestampdiv').slideDown("normal");
|
2008-02-18 23:07:57 +01:00
|
|
|
} else {
|
2008-02-21 23:20:19 +01:00
|
|
|
jQuery('#timestampdiv').hide();
|
2008-02-18 23:07:57 +01:00
|
|
|
}
|
2008-02-22 07:12:10 +01:00
|
|
|
return false;
|
2008-02-18 23:07:57 +01:00
|
|
|
});
|
2008-02-22 07:12:10 +01:00
|
|
|
});
|