Changeset 34180 for branches/4.3
- Timestamp:
- 09/15/2015 01:45:27 PM (9 years ago)
- Location:
- branches/4.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.3
-
branches/4.3/src/wp-admin/js/edit-comments.js
r34095 r34180 363 363 t = this, 364 364 c = $('#comment-' + comment_id), 365 h = c.height(); 365 h = c.height(), 366 colspanVal = 0; 366 367 367 368 t.close(); … … 373 374 act = 'edit' == action ? 'edit' : 'replyto'; 374 375 act = t.act = act + '-comment'; 375 376 $( 'td', editRow ).attr( 'colspan', $( 'th:visible, td:visible', c ).length ); 376 colspanVal = $( 'th:visible, td:visible', c ).length; 377 378 // Make sure it's actually a table and there's a `colspan` value to apply. 379 if ( editRow.hasClass( 'inline-edit-row' ) && 0 !== colspanVal ) { 380 $( 'td', editRow ).attr( 'colspan', colspanVal ); 381 } 377 382 378 383 $('#action', editRow).val(act);
Note: See TracChangeset
for help on using the changeset viewer.