List tables: Go back to inserting quick edit rows after, as some plugins rely on that assumption. Results are the same.

fixes #26060.


git-svn-id: https://develop.svn.wordpress.org/trunk@31820 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Helen Hou-Sandi 2015-03-18 21:49:26 +00:00
parent 639f5228c3
commit 6a273462e8
2 changed files with 2 additions and 2 deletions

View File

@ -133,7 +133,7 @@ inlineEditPost = {
editRow = $('#inline-edit').clone(true);
$('td', editRow).attr('colspan', $('.widefat:first thead th:visible').length);
$(t.what+id).hide().before(editRow).before('<tr class="hidden"></tr>');
$(t.what+id).hide().after(editRow).after('<tr class="hidden"></tr>');
// populate the data
rowData = $('#inline_'+id);

View File

@ -56,7 +56,7 @@ inlineEditTax = {
editRow = $('#inline-edit').clone(true), rowData = $('#inline_'+id);
$('td', editRow).attr('colspan', $('.widefat:first thead th:visible').length);
$(t.what+id).hide().before(editRow).before('<tr class="hidden"></tr>');
$(t.what+id).hide().after(editRow).after('<tr class="hidden"></tr>');
val = $('.name', rowData);
val.find( 'img' ).replaceWith( function() { return this.alt; } );