mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Show Settings for edit page form. see #7552
git-svn-id: https://develop.svn.wordpress.org/trunk@8752 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
jQuery(document).ready( function() {
|
||||
jQuery(document).ready( function($) {
|
||||
postboxes.add_postbox_toggles('page');
|
||||
make_slugedit_clickable();
|
||||
|
||||
@@ -39,4 +39,25 @@ jQuery(document).ready( function() {
|
||||
jQuery('#curtime').slideDown("normal");
|
||||
return false;
|
||||
});
|
||||
|
||||
// Edit Settings
|
||||
$('#show-settings-link').click(function () {
|
||||
$('#edit-settings').slideDown('normal', function(){
|
||||
$('#show-settings-link').hide();
|
||||
$('#hide-settings-link').show();
|
||||
|
||||
});
|
||||
$('#show-settings').addClass('show-settings-opened');
|
||||
return false;
|
||||
});
|
||||
|
||||
$('#hide-settings-link').click(function () {
|
||||
$('#edit-settings').slideUp('normal', function(){
|
||||
$('#hide-settings-link').hide();
|
||||
$('#show-settings-link').show();
|
||||
$('#show-settings').removeClass('show-settings-opened');
|
||||
});
|
||||
|
||||
return false;
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user