~canonical-sysadmins/wordpress/4.8.3

« back to all changes in this revision

Viewing changes to wp-admin/js/inline-edit-tax.js

  • Committer: Ryan Finnie
  • Date: 2015-08-31 16:09:47 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: ryan.finnie@canonical.com-20150831160947-1h6rfxby9z1ec62u
Merge WP4.3 from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
                }
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>');
60
60