mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 14:50:29 +00:00
Move timestamp to submitbox. Put it in a slidedown. see #5846
git-svn-id: https://develop.svn.wordpress.org/trunk@6904 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1,6 +1,15 @@
|
||||
addLoadEvent( function() {
|
||||
add_postbox_toggles('page');
|
||||
make_slugedit_clickable();
|
||||
|
||||
jQuery('#timestamp').css('display', 'none');
|
||||
jQuery('.edit-timestamp').click(function () {
|
||||
if (jQuery('#timestamp').is(":hidden")) {
|
||||
jQuery('#timestamp').slideDown("normal");
|
||||
} else {
|
||||
jQuery('#timestamp').hide();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
||||
@@ -140,4 +140,13 @@ addLoadEvent( function() {
|
||||
return false;
|
||||
} );
|
||||
jQuery('.categorychecklist :checkbox').change( syncChecks ).filter( ':checked' ).change();
|
||||
|
||||
jQuery('#timestamp').css('display', 'none');
|
||||
jQuery('.edit-timestamp').click(function () {
|
||||
if (jQuery('#timestamp').is(":hidden")) {
|
||||
jQuery('#timestamp').slideDown("normal");
|
||||
} else {
|
||||
jQuery('#timestamp').hide();
|
||||
}
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user