Changeset 7110
- Timestamp:
- 04/15/2018 10:05:15 AM (7 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/style/trac
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/style/trac/wp-trac.css
r7108 r7110 912 912 h3 .trac-ticket-buttons { 913 913 padding-top: 8px; 914 visibility: visible !important; 914 915 } 915 916 h3.chat-bot .trac-ticket-buttons { -
sites/trunk/wordpress.org/public_html/style/trac/wp-trac.js
r7090 r7110 172 172 }; 173 173 }); 174 175 // Restore the 'Delete' comment buttons, if any. The Trac plugin places them in a location we don't want.176 // See https://meta.trac.wordpress.org/changeset/204.177 $('div.change').children('.trac-ticket-buttons').each( function() {178 var el = $(this),179 trac_buttons = el.prev().children('.trac-ticket-buttons');180 181 // Trac 1.2.2 already has a delete button here. TODO See r204 to check if buttons need removing from templates.182 if ( trac_buttons.find('form input[name="action"][value="delete-comment"]').length ) {183 console.log( "wp-trac: .trac-ticket-buttons delete-comment changes not needed on this trac." );184 return;185 }186 187 el.children().appendTo( trac_buttons ).end().end().remove();188 });189 174 }, 190 175
Note: See TracChangeset
for help on using the changeset viewer.