Make WordPress Core

Changeset 31820


Ignore:
Timestamp:
03/18/2015 09:49:26 PM (10 years ago)
Author:
helen
Message:

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

fixes #26060.

Location:
trunk/src/wp-admin/js
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/inline-edit-post.js

    r31750 r31820  
    134134        $('td', editRow).attr('colspan', $('.widefat:first thead th:visible').length);
    135135
    136         $(t.what+id).hide().before(editRow).before('<tr class="hidden"></tr>');
     136        $(t.what+id).hide().after(editRow).after('<tr class="hidden"></tr>');
    137137
    138138        // populate the data
  • trunk/src/wp-admin/js/inline-edit-tax.js

    r31750 r31820  
    5757        $('td', editRow).attr('colspan', $('.widefat:first thead th:visible').length);
    5858
    59         $(t.what+id).hide().before(editRow).before('<tr class="hidden"></tr>');
     59        $(t.what+id).hide().after(editRow).after('<tr class="hidden"></tr>');
    6060
    6161        val = $('.name', rowData);
Note: See TracChangeset for help on using the changeset viewer.