Ticket #16392: inline-edit-post.dev.js.patch
| File inline-edit-post.dev.js.patch, 533 bytes (added by outis, 16 months ago) |
|---|
-
wp-admin/js/inline-edit-post.dev.js
inlineEditPost = { 162 162 for ( f = 0; f < fields.length; f++ ) { 163 163 $(':input[name="' + fields[f] + '"]', editRow).val( $('.'+fields[f], rowData).text() ); 164 164 } 165 $('[for]', rowData).each(function(idx, elt) { 166 $(':input[name="' + this.getAttribute('for') + '"]', editRow).val( $(this).text() ); 167 }); 165 168 166 169 if ( $('.comment_status', rowData).text() == 'open' ) 167 170 $('input[name="comment_status"]', editRow).prop("checked", true);