WordPress.org

Making WordPress.org

Opened 12 months ago

Closed 11 months ago

Last modified 11 months ago

#4018 closed defect (fixed)

New Ticket page on Core Trac scrolls user past notices box

Reported by: RMarks Owned by: dd32
Milestone: Priority: normal
Component: Trac Keywords: needs-patch
Cc:

Description

When you browse to Core's New Ticket screen, the page is automatically scrolled down a bit which hides the notices that Trac isn't for support or security vulnerabilities.

Change History (3)

#1 @dd32
12 months ago

  • Keywords needs-patch added

This is being caused by $(".trac-autofocus").focus(); which focuses the title field, which if it's below the fold, will scroll the page to it.

It looks like that JS comes directly from Trac, and isn't present in our templates.

We could probably use a <py:match path="...." py:strip="" /> or something to strip the trac-autofocus class out of the HTML..
(I'm going to have leave this for someone with more Trac customisation experience unfortunately)

#2 @dd32
11 months ago

  • Owner set to dd32
  • Resolution set to fixed
  • Status changed from new to closed

In 8052:

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

Fixes #4018.

#3 @dd32
11 months ago

In 8053:

Trac: Bump cache busters following r8052.

Fixes #4018.

Note: See TracTickets for help on using tickets.