Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#13205 closed defect (bug) (fixed)

Add menu item autocompleters throw JS errors when no results found

Reported by: koopersmith Owned by: koopersmith
Priority: normal Milestone: 3.0
Component: Menus Version: 3.0
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

The JS error is located in the jQuery autocomplete module at line 429, which means somewhere, somehow, we're probably doing something wrong.

Attachments (3)

13205.diff (406 bytes ) - added by duck_ 16 years ago.
13205.2.diff (727 bytes ) - added by duck_ 16 years ago.
didn't fix for category search
13205.3.diff (727 bytes ) - added by duck_ 16 years ago.
refreshed for r14387

Download all attachments as: .zip

Change History (6)

@duck_
16 years ago

#1 @duck_
16 years ago

  • Keywords has-patch added

I believe the autocomplete plugin requires each match to be on a new line or nothing if no matches. Echoing '-1' was breaking it.

@duck_
16 years ago

didn't fix for category search

@duck_
16 years ago

refreshed for r14387

#2 @nacin
16 years ago

(In [14405]) Fix JS error in autocomplete. props koopersmith, see #13205.

#3 @ptahdunbar
16 years ago

  • Resolutionfixed
  • Status newclosed
Note: See TracTickets for help on using tickets.