QE: set colspan and fix IE input field width

git-svn-id: https://develop.svn.wordpress.org/trunk@9738 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2008-11-17 20:08:38 +00:00
parent 3c8fede621
commit 3d3aa29798
5 changed files with 19 additions and 7 deletions
+8
View File
@@ -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 {
+6 -3
View File
@@ -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 += '<div id="ttle'+id+'"><a id="_'+id+'" class="ntdelbutton">X</a>'+$('tr#post_'+id+' .post_title strong').text()+'</div>';
var theTitle = $('#inline_'+id+' .post_title').text() || '#'+id;
te += '<div id="ttle'+id+'"><a id="_'+id+'" class="ntdelbutton">X</a>'+theTitle+'</div>';
}
});
@@ -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');
+1
View File
@@ -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');
+1 -1
View File
@@ -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%;
}