Making WordPress.org

Changeset 245


Ignore:
Timestamp:
01/09/2014 07:50:14 AM (11 years ago)
Author:
nacin
Message:

Trac: Add JS that will hide the CC field from the query builder, to be called when notifications are enabled. see #127.

File:
1 edited

Legend:

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

    r233 r245  
    370370        },
    371371
     372        hide_cc_field: function() {
     373            if ( $('#content').hasClass('query') ) {
     374                $('table.trac-clause tr.actions option[value="cc"]').remove();
     375                $('#columns').find('input[type="checkbox"][name="col"][value="cc"]').parent().remove();
     376            }
     377        },
     378
    372379        notifications: (function() {
    373380            var notifications, _endpoint, _ticket, star;
Note: See TracChangeset for help on using the changeset viewer.