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:
Ryan Boren
2008-02-18 22:07:57 +00:00
parent fcdcbe69e8
commit af4c2613d4
5 changed files with 58 additions and 39 deletions
+9
View File
@@ -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();
}
});
});
+9
View File
@@ -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();
}
});
});