Making WordPress.org

Changeset 8052


Ignore:
Timestamp:
01/09/2019 01:21:09 AM (5 years ago)
Author:
dd32
Message:

Trac: Disable the Trac Autofocus feature which scrolls past the new ticket intro which discusses security reporting, etc.

Fixes #4018.

File:
1 edited

Legend:

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

    r7890 r8052  
    14391439            $.fn.disableOnSubmit        = $.fn.disableOnSubmit        || function() {}
    14401440            $.fn.disableSubmit          = $.fn.disableSubmit          || function() {}
     1441        },
     1442
     1443        disableTracAutoFocus: function() {
     1444            // Disable the Trac autofocus which scrolls past the intro to creating tickets.
     1445            $(".trac-autofocus").removeClass( 'trac-autofocus' );
    14411446        }
    14421447
     
    14461451
    14471452    // Perform this as soon as this file loads.
     1453    wpTrac.disableTracAutoFocus();
    14481454    wpTrac.patchTracFor122Changes();
    14491455
Note: See TracChangeset for help on using the changeset viewer.