WordPress.org

Make WordPress Core

Changeset 9585


Ignore:
Timestamp:
11/10/2008 08:58:32 AM (10 years ago)
Author:
azaozz
Message:

Do not show comments column after quick editing a post from the Drafts screen, fixes #8113

Location:
trunk/wp-admin
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/colors-fresh.css

    r9578 r9585  
    945945}
    946946
    947 #adminmenu .wp-has-current-submenu .wp-has-submenu,
     947#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,
    948948#adminmenu .menu-top .current {
    949949    background-color: #c0c0c0;
  • trunk/wp-admin/css/ie.css

    r9578 r9585  
    6464}
    6565
    66 ul#adminmenu li.wp-has-submenu {
     66#wpcontent #adminmenu.folded li.menu-top {
     67    display: block;
     68}
     69
     70* html #wpcontent #adminmenu li.menu-top {
     71    display: inline;
    6772    padding: 0;
    6873    margin: 0;
    6974}
    7075
     76#adminmenu li.menu-top a.menu-top {
     77    min-width: auto;
     78    width: auto;
     79}
     80
     81#wpcontent #adminmenu li.wp-has-current-submenu a.wp-has-submenu {
     82    font-style: normal;
     83}
     84
     85* html #wpcontent #adminmenu .wp-menu-open .wp-menu-toggle {
     86    background: none;
     87}
     88
     89* html #wpcontent #adminmenu .wp-has-submenu .wp-menu-toggle {
     90    background: url(../images/menu-bits.gif) no-repeat scroll left -108px;
     91}
     92
     93* html #wpcontent #adminmenu li.wp-has-current-submenu .wp-menu-toggle {
     94    background: url(../images/menu-bits.gif) no-repeat scroll left -206px;
     95}
     96
     97* html #adminmenu div.wp-menu-image {
     98    height: 31px;
     99}
     100
    71101#wpcontent #adminmenu .wp-submenu li {
    72102    padding: 0;
     
    74104
    75105#adminmenu,
    76 #adminmenu .wp-menu-toggle,
     106.wp-submenu,
    77107.wp-submenu li,
    78 .wp-submenu {
     108.wp-menu-toggle {
    79109    zoom: 100%;
    80110}
  • trunk/wp-admin/js/inline-edit-post.js

    r9566 r9585  
    208208                if (r) {
    209209                    r = r.replace(/hide-if-no-js/, '');
     210                   
     211   
    210212                    $('#edit-'+id).remove();
    211                     row.html($(r).html()).show()
     213                    row.html($(r).html());
     214                    if ( 'draft' == $('input[name="post_status"]').val() )
     215                        row.find('td.column-comments').hide();
     216                    row.show()
    212217                        .animate( { backgroundColor: '#CCEEBB' }, 500)
    213218                        .animate( { backgroundColor: '#eefee7' }, 500);
  • trunk/wp-admin/wp-admin.css

    r9584 r9585  
    884884    width: 12em;
    885885    list-style: none;
    886     font: normal 11.5px/16px Georgia, "Times New Roman", Times, serif;
     886    font: normal 11.5px/18px Georgia, "Times New Roman", Times, serif;
    887887}
    888888
     
    946946#adminmenu a.menu-top {
    947947    line-height: 18px;
     948    min-width: 10em;
    948949    padding: 6px 5px;
    949950    border-width: 1px 1px 0;
     
    10821083#adminmenu .wp-menu-toggle {
    10831084    width: 22px;
     1085    clear: right;
    10841086    float: right;
    10851087    margin: 1px 0 0;
Note: See TracChangeset for help on using the changeset viewer.