Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#38324 closed defect (bug) (fixed)

Menus screen: quick search input event needs to be delegated

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

Description

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:

https://cldup.com/gjpV7IBWUD.png

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):

https://cldup.com/y75JY03zOP.png

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

Attachments (1)

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

Download all attachments as: .zip

Change History (3)

@afercia
10 years ago

#1 @afercia
10 years ago

  • Keywords has-patch added
  • Owner set to afercia
  • Status newassigned

#2 @afercia
10 years ago

  • Resolutionfixed
  • Status assignedclosed

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.