diff --git a/wp-admin/css/ie.css b/wp-admin/css/ie.css index b0f44cb5fe..36ab8ccee9 100644 --- a/wp-admin/css/ie.css +++ b/wp-admin/css/ie.css @@ -194,6 +194,14 @@ ul#adminmenu { #wpbody-content .inline-edit-row fieldset label span.input-text-wrap input { line-height: 130%; } + +#wpbody-content .inline-edit-row .input-text-wrap input { + width: 95%; +} + +#wpbody-content .inline-edit-row .input-text-wrap input.inline-edit-password-input { + width: 8em; +} /* end Inline Editor */ #titlediv #title { diff --git a/wp-admin/js/inline-edit-post.js b/wp-admin/js/inline-edit-post.js index 8fe3f1112e..a32e957885 100644 --- a/wp-admin/js/inline-edit-post.js +++ b/wp-admin/js/inline-edit-post.js @@ -78,16 +78,18 @@ inlineEditPost = { }, setBulk : function() { - var te = '', c = ''; + var te = '', c = '', type = this.type; this.revert(); + $('#bulk-edit td').attr('colspan', $('.widefat:first thead th:visible').length); $('table.widefat tbody').prepend( $('#bulk-edit') ); $('#bulk-edit').addClass('inline-editor').show(); $('tbody th.check-column input[type="checkbox"]').each(function(i){ if ( $(this).attr('checked') ) { var id = $(this).val(); - te += '
X'+$('tr#post_'+id+' .post_title strong').text()+'
'; + var theTitle = $('#inline_'+id+' .post_title').text() || '#'+id; + te += '
X'+theTitle+'
'; } }); @@ -100,7 +102,7 @@ inlineEditPost = { }); // enable autocomplete for tags - if ( this.type == 'post' ) + if ( type == 'post' ) $('tr.inline-editor textarea[name="tags_input"]').suggest( 'admin-ajax.php?action=ajax-tag-search', { delay: 500, minchars: 2, multiple: true, multipleSep: ", " } ); }, @@ -117,6 +119,7 @@ inlineEditPost = { // add the new blank row var editRow = $('#inline-edit').clone(true); + $('td', editRow).attr('colspan', $('.widefat:first thead th:visible').length); if ( $(t.what+id).hasClass('alternate') ) $(editRow).addClass('alternate'); diff --git a/wp-admin/js/inline-edit-tax.js b/wp-admin/js/inline-edit-tax.js index 81309ae65d..128ba23e80 100644 --- a/wp-admin/js/inline-edit-tax.js +++ b/wp-admin/js/inline-edit-tax.js @@ -48,6 +48,7 @@ inlineEditTax = { id = t.getId(id); var editRow = $('#inline-edit').clone(true), rowData = $('#inline_'+id); + $('td', editRow).attr('colspan', $('.widefat:first thead th:visible').length); if ( $(t.what+id).hasClass('alternate') ) $(editRow).addClass('alternate'); diff --git a/wp-admin/wp-admin.css b/wp-admin/wp-admin.css index 1ba40c20d2..2ffa81c997 100644 --- a/wp-admin/wp-admin.css +++ b/wp-admin/wp-admin.css @@ -2730,7 +2730,7 @@ tr.inline-edit-row td { padding-right: 0.5em; } -.inline-edit-row fieldset label input[type=text] { +.inline-edit-row .input-text-wrap input[type=text] { width: 100%; } diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index de37baf663..59add0edc9 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -250,12 +250,12 @@ function wp_default_scripts( &$scripts ) { $scripts->add( 'theme-preview', '/wp-admin/js/theme-preview.js', array( 'thickbox', 'jquery' ), '20080625' ); - $scripts->add( 'inline-edit-post', '/wp-admin/js/inline-edit-post.js', array( 'jquery', 'jquery-form', 'suggest' ), '20081115b' ); + $scripts->add( 'inline-edit-post', '/wp-admin/js/inline-edit-post.js', array( 'jquery', 'jquery-form', 'suggest' ), '20081117' ); $scripts->localize( 'inline-edit-post', 'inlineEditL10n', array( 'error' => __('Error while saving the changes.') ) ); - $scripts->add( 'inline-edit-tax', '/wp-admin/js/inline-edit-tax.js', array( 'jquery', 'jquery-form' ), '20081115' ); + $scripts->add( 'inline-edit-tax', '/wp-admin/js/inline-edit-tax.js', array( 'jquery', 'jquery-form' ), '20081117' ); $scripts->localize( 'inline-edit-tax', 'inlineEditL10n', array( 'error' => __('Error while saving the changes.') ) ); @@ -303,7 +303,7 @@ function wp_default_styles( &$styles ) { $styles->add( 'wp-admin', '/wp-admin/wp-admin.css', array(), '20081117' ); $styles->add_data( 'wp-admin', 'rtl', '/wp-admin/rtl.css' ); - $styles->add( 'ie', '/wp-admin/css/ie.css' ); + $styles->add( 'ie', '/wp-admin/css/ie.css', array(), '20081117' ); $styles->add_data( 'ie', 'conditional', 'gte IE 6' ); $styles->add( 'colors', true ); // Register "meta" stylesheet for admin colors