Ticket #61014: 61014-change-id-using-javascript.diff
| File 61014-change-id-using-javascript.diff, 856 bytes (added by , 2 years ago) |
|---|
-
src/js/_enqueues/admin/inline-edit-post.js
128 128 inlineEditPost.edit( this ); 129 129 }); 130 130 131 // Clone quick edit categories for the bulk editor. 132 var qeCategories = $( '#inline-edit fieldset.inline-edit-categories' ); 133 var beCategories = qeCategories.clone(); 134 135 // Make "id" attributes globally unique. 136 beCategories.find( '*[id]' ).each( function() { 137 this.id = 'bulk-edit-' + this.id; 138 }); 139 131 140 $('#bulk-edit').find('fieldset:first').after( 132 $('#inline-edit fieldset.inline-edit-categories').clone()141 beCategories 133 142 ).siblings( 'fieldset:last' ).prepend( 134 143 $( '#inline-edit .inline-edit-tags-wrap' ).clone() 135 144 );