Changeset 33015
- Timestamp:
- 07/01/2015 01:05:29 AM (9 years ago)
- Location:
- trunk/src/wp-admin/js
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/js/inline-edit-post.js
r32869 r33015 82 82 this.revert(); 83 83 84 $( '#bulk-edit td').attr('colspan', $('.widefat:first thead th:visible').length);84 $( '#bulk-edit td' ).attr( 'colspan', $( 'th:visible, td:visible', '.widefat:first thead' ).length ); 85 85 // Insert the editor at the top of the table with an empty row above to maintain zebra striping. 86 86 $('table.widefat tbody').prepend( $('#bulk-edit') ).prepend('<tr class="hidden"></tr>'); … … 132 132 // add the new edit row with an extra blank row underneath to maintain zebra striping. 133 133 editRow = $('#inline-edit').clone(true); 134 $( 'td', editRow).attr('colspan', $('.widefat:first thead th:visible').length);134 $( 'td', editRow ).attr( 'colspan', $( 'th:visible, td:visible', '.widefat:first thead' ).length ); 135 135 136 136 $(t.what+id).hide().after(editRow).after('<tr class="hidden"></tr>'); -
trunk/src/wp-admin/js/inline-edit-tax.js
r31996 r33015 55 55 56 56 editRow = $('#inline-edit').clone(true), rowData = $('#inline_'+id); 57 $( 'td', editRow).attr('colspan', $('.widefat:first thead th:visible').length);57 $( 'td', editRow ).attr( 'colspan', $( 'th:visible, td:visible', '.widefat:first thead' ).length ); 58 58 59 59 $(t.what+id).hide().after(editRow).after('<tr class="hidden"></tr>');
Note: See TracChangeset
for help on using the changeset viewer.