mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
Do not show comments column after quick editing a post from the Drafts screen, fixes #8113
git-svn-id: http://svn.automattic.com/wordpress/trunk@9585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d5898fb3fc
commit
4da15b97ea
@ -944,7 +944,7 @@ abbr.required,
|
|||||||
background: #FFFFFF url(../images/menu-bits.gif) no-repeat scroll 0 -310px;
|
background: #FFFFFF url(../images/menu-bits.gif) no-repeat scroll 0 -310px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu .wp-has-current-submenu .wp-has-submenu,
|
#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,
|
||||||
#adminmenu .menu-top .current {
|
#adminmenu .menu-top .current {
|
||||||
background-color: #c0c0c0;
|
background-color: #c0c0c0;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
|
@ -63,19 +63,49 @@ input.button-highlighted {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul#adminmenu li.wp-has-submenu {
|
#wpcontent #adminmenu.folded li.menu-top {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
* html #wpcontent #adminmenu li.menu-top {
|
||||||
|
display: inline;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#adminmenu li.menu-top a.menu-top {
|
||||||
|
min-width: auto;
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpcontent #adminmenu li.wp-has-current-submenu a.wp-has-submenu {
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
* html #wpcontent #adminmenu .wp-menu-open .wp-menu-toggle {
|
||||||
|
background: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
* html #wpcontent #adminmenu .wp-has-submenu .wp-menu-toggle {
|
||||||
|
background: url(../images/menu-bits.gif) no-repeat scroll left -108px;
|
||||||
|
}
|
||||||
|
|
||||||
|
* html #wpcontent #adminmenu li.wp-has-current-submenu .wp-menu-toggle {
|
||||||
|
background: url(../images/menu-bits.gif) no-repeat scroll left -206px;
|
||||||
|
}
|
||||||
|
|
||||||
|
* html #adminmenu div.wp-menu-image {
|
||||||
|
height: 31px;
|
||||||
|
}
|
||||||
|
|
||||||
#wpcontent #adminmenu .wp-submenu li {
|
#wpcontent #adminmenu .wp-submenu li {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu,
|
#adminmenu,
|
||||||
#adminmenu .wp-menu-toggle,
|
.wp-submenu,
|
||||||
.wp-submenu li,
|
.wp-submenu li,
|
||||||
.wp-submenu {
|
.wp-menu-toggle {
|
||||||
zoom: 100%;
|
zoom: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -207,8 +207,13 @@ inlineEditPost = {
|
|||||||
|
|
||||||
if (r) {
|
if (r) {
|
||||||
r = r.replace(/hide-if-no-js/, '');
|
r = r.replace(/hide-if-no-js/, '');
|
||||||
|
|
||||||
|
|
||||||
$('#edit-'+id).remove();
|
$('#edit-'+id).remove();
|
||||||
row.html($(r).html()).show()
|
row.html($(r).html());
|
||||||
|
if ( 'draft' == $('input[name="post_status"]').val() )
|
||||||
|
row.find('td.column-comments').hide();
|
||||||
|
row.show()
|
||||||
.animate( { backgroundColor: '#CCEEBB' }, 500)
|
.animate( { backgroundColor: '#CCEEBB' }, 500)
|
||||||
.animate( { backgroundColor: '#eefee7' }, 500);
|
.animate( { backgroundColor: '#eefee7' }, 500);
|
||||||
inlineEditPost.addEvents(row);
|
inlineEditPost.addEvents(row);
|
||||||
|
@ -883,7 +883,7 @@ ul#adminmenu li.write-new-button a {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
width: 12em;
|
width: 12em;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
font: normal 11.5px/16px Georgia, "Times New Roman", Times, serif;
|
font: normal 11.5px/18px Georgia, "Times New Roman", Times, serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu.folded,
|
#adminmenu.folded,
|
||||||
@ -945,6 +945,7 @@ ul#adminmenu li.write-new-button a {
|
|||||||
|
|
||||||
#adminmenu a.menu-top {
|
#adminmenu a.menu-top {
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
|
min-width: 10em;
|
||||||
padding: 6px 5px;
|
padding: 6px 5px;
|
||||||
border-width: 1px 1px 0;
|
border-width: 1px 1px 0;
|
||||||
border-style: solid solid none;
|
border-style: solid solid none;
|
||||||
@ -1081,6 +1082,7 @@ ul#adminmenu li.write-new-button a {
|
|||||||
|
|
||||||
#adminmenu .wp-menu-toggle {
|
#adminmenu .wp-menu-toggle {
|
||||||
width: 22px;
|
width: 22px;
|
||||||
|
clear: right;
|
||||||
float: right;
|
float: right;
|
||||||
margin: 1px 0 0;
|
margin: 1px 0 0;
|
||||||
height: 29px;
|
height: 29px;
|
||||||
|
Loading…
Reference in New Issue
Block a user