Making WordPress.org

Changeset 6894


Ignore:
Timestamp:
03/21/2018 03:36:18 AM (8 years ago)
Author:
dd32
Message:

Trac: Don't list commits when the user is on the /newticket page.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/style/trac/wp-trac.js

    r6845 r6894  
    472472
    473473                        // List commits between #ticket and #attachments.
    474                         if ( $( '#content.ticket' ).length ) {
     474                        if ( $( '#content.ticket' ).length && ! $( '#ticket.ticketdraft' ).length ) {
    475475                                var $commitChanges = $( 'div.change' ).has( '.comment > p > a.changeset' ).has( '.comment div.message p a.ticket' ),
    476476                                        $commits = $( '<ul/>' ), commitCount = 0;
Note: See TracChangeset for help on using the changeset viewer.