Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#38324 closed defect (bug) (fixed)

Menus screen: quick search input event needs to be delegated

Reported by: afercia Owned by: afercia
Milestone: 4.7 Priority: normal
Severity: normal Version:
Component: Menus Keywords: has-screenshots has-patch
Focuses: javascript Cc:


On the menus screen, the post and taxonomies boxes on the left have a "search" tab. Go in one of those, and submit a search to get some results:


Now go on the previous tab "View All" and click a couple times on the pagination links (be sure to have more than 50 posts/pages or categories otherwise the pagination links won't show up):


Then go back to the search tab and submit a new search: nothing happens.

Attachments (1)

38324.diff (1007 bytes) - added by afercia 5 years ago.

Download all attachments as: .zip

Change History (3)

5 years ago

#1 @afercia
5 years ago

  • Keywords has-patch added
  • Owner set to afercia
  • Status changed from new to assigned

#2 @afercia
5 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 38799:

Menus: Fix the posts-categories quick search.

On the Menus screen, events that trigger the posts-categories search need to be
delegated. This "boxes" may get dynamically rebuilt so events directly attached
to the search input field need to be delegated.

Fixes #38324.

Note: See TracTickets for help on using tickets.