Making WordPress.org

Changeset 5909


Ignore:
Timestamp:
09/11/2017 10:43:46 AM (9 years ago)
Author:
SergeyBiryukov
Message:

Trac: Add missing periods to inline comments in wp-trac.js.

File:
1 edited

Legend:

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

    r5907 r5909  
    193193                        }
    194194
    195                         // Change 'Comments' and 'Stars' columns to dashicons glyphs to save space
     195                        // Change 'Comments' and 'Stars' columns to dashicons glyphs to save space.
    196196                        $('th a[href*="sort=Comments"]').html('<div class="dashicons dashicons-admin-comments"></div>');
    197197                        $('th a[href*="sort=Stars"]').html('<div class="dashicons dashicons-star-empty"></div>');
     
    289289                        }
    290290
    291                         // Add After the Deadline (only add it if it loaded)
     291                        // Add After the Deadline (only add it if it loaded).
    292292                        if ( $.isFunction( $.fn.addProofreader ) ) {
    293293                                $('textarea').addProofreader();
     
    297297                        }
    298298
    299                         // Add custom buttons to the formatting toolbar
     299                        // Add custom buttons to the formatting toolbar.
    300300                        // http://trac.edgewall.org/browser/tags/trac-1.0.9/trac/htdocs/js/wikitoolbar.js
    301301                        (function($) {
     
    308308                                        $wikitoolbar = $textarea.parents( 'div.trac-resizable' ).siblings( 'div.wikitoolbar' );
    309309
    310                                         // after = ID of an existing button
     310                                        // after = ID of an existing button.
    311311                                        function addButton( id, title, after, fn ) {
    312312                                                var $button = $( '<a />', { 'href': '#', 'id': id, 'title': title, 'tabIndex': 400 } );
     
    357357                        })(jQuery);
    358358
    359                         // Force 'Attachments' and 'Modify Ticket' to be shown
     359                        // Force 'Attachments' and 'Modify Ticket' to be shown.
    360360                        $('#attachments').removeClass('collapsed');
    361361                        $("#modify").parent().removeClass('collapsed');
    362362
    363                         // Push live comment previews above 'Modify Ticket'
     363                        // Push live comment previews above 'Modify Ticket'.
    364364                        $('#ticketchange').insertAfter('#trac-add-comment');
    365365
    366                         // Toggle the security notice on component change, if rendered
     366                        // Toggle the security notice on component change, if rendered.
    367367                        if ( $('#wp-security-notice').length ) {
    368368                                $('#field-component').change( function() {
     
    398398                                });
    399399
    400                         // Clear the milestone on wontfix, duplicate, worksforme, invalid
     400                        // Clear the milestone on wontfix, duplicate, worksforme, invalid.
    401401                        var milestone = $('#field-milestone');
    402402                        if ( ! milestone.prop('disabled') ) {
     
    409409                        }
    410410
    411                         // Prevent marking a ticket as a duplicate of itself
     411                        // Prevent marking a ticket as a duplicate of itself.
    412412                        $('#propertyform').submit( function() {
    413413                                var action = $('input[name="action"]:checked').val(),
     
    421421                        });
    422422
    423                         // Add a 'Show only commits/attachments' view option to tickets
     423                        // Add a 'Show only commits/attachments' view option to tickets.
    424424                        $('label[for="trac-comments-only-toggle"]').text('Show only comment text');
    425425                        $('form#prefs')
     
    433433                                $('div.change')
    434434                                        .hide()
    435                                                 // Best we can do to target a
     435                                                // Best we can do to target a.
    436436                                                .has('.comment > p > a.changeset')
    437437                                                        .has('.comment div.message p a.ticket')
     
    443443                        });
    444444
    445                         // List commits between #ticket and #attachments
     445                        // List commits between #ticket and #attachments.
    446446                        if ( $( '#content.ticket' ).length ) {
    447447                                var $commitChanges = $( 'div.change' ).has( '.comment > p > a.changeset' ).has( '.comment div.message p a.ticket' ),
     
    494494                        });
    495495
    496                         // 'User Interface' preferences tab => 'Help Links' (and removes icons-only setting)
     496                        // 'User Interface' preferences tab => 'Help Links' (and removes icons-only setting).
    497497                        var uitab = $('#tab_userinterface');
    498498                        if ( uitab.length ) {
Note: See TracChangeset for help on using the changeset viewer.